On Wed, 2008-01-30 at 14:06 +0300, Oleg Nesterov wrote: <snip>I've got the patch written and will be testing this shortly. There are portions in there to deal with the presence or lack of proc fs. In include/linux/mm_types.h for example. Also, I placed some of the functions in fs/proc/base.c and avoided the need for #ifdefs in the .c files. Good catch. Also I noticed that I was still setting the exe_file field in fork.c regardles of CONFIG_PROC_FS. So based on your feedback I'm working on 3 patches: 1 - fix the two CONFIG_PROC_FS issues a) breaks compilation when CONFIG_PROC_FS is not defined b) struct file leak when CONFIG_PROC_FS is not defined 2 - reuse mmap semaphore 3 - move the mm initialization bits in the exec path to close the window where userspace could see a "NULL" exe_file. I will post each after it passes testing. Thanks again! Cheers, -Matt Helsley --
| Hiten Pandya | Re: up? (emacs docbook xml ide) |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| James Bottomley | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
