lock_kernel and exec_domain usage?

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 03 Dec 1999 07:22:47 +0000


I was wondering if the lock_kernel calls in
kernel/exec_domain.c::sys_personality() could be removed?

In fs/binfmt_elf.c and fs/binfmt_aout.c, practically the same code
exists (grep for lookup_exec_domain), but is not surrounded by a kernel
lock at all.

-- 
Jeff Garzik              | Just once, I wish we would encounter
Building 1024            | an alien menace that wasn't immune to
MandrakeSoft, Inc.       | bullets.   -- The Brigadier, "Dr. Who"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/