patch-2.4.15 linux/kernel/exec_domain.c
Next file: linux/kernel/exit.c
Previous file: linux/init/version.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sun Nov 11 10:20:21 2001
- Orig file:
v2.4.14/linux/kernel/exec_domain.c
- Orig date:
Mon Nov 5 15:55:35 2001
diff -u --recursive --new-file v2.4.14/linux/kernel/exec_domain.c linux/kernel/exec_domain.c
@@ -77,7 +77,6 @@
lookup_exec_domain(u_long personality)
{
struct exec_domain * ep;
- char buffer[30];
u_long pers = personality(personality);
read_lock(&exec_domains_lock);
@@ -89,8 +88,11 @@
#ifdef CONFIG_KMOD
read_unlock(&exec_domains_lock);
- sprintf(buffer, "personality-%ld", pers);
- request_module(buffer);
+ {
+ char buffer[30];
+ sprintf(buffer, "personality-%ld", pers);
+ request_module(buffer);
+ }
read_lock(&exec_domains_lock);
for (ep = exec_domains; ep; ep = ep->next) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)