Re: [PATCH] A new entry for /proc

From: Alan Cox
Date: Sat Jan 08 2005 - 18:00:16 EST


On Sad, 2005-01-08 at 20:20, Hugh Dickins wrote:
> Seems to have no locking: needs to down_read mmap_sem to guard vmas.
> Does it need page_table_lock? I think not (and proc_pid_statm didn't).

The mmap_sem is insufficient during an exec - something that the
sys_uselib changes noted. It would work in -ac but thats a property of
how I fixed it rather than how Linus fixed it for the base kernel.

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