Messages in this thread | | | Date | Fri, 24 Sep 2004 18:33:46 -0700 | From | Chris Wright <> | Subject | Re: mlock(1) |
| |
* Andrew Morton (akpm@osdl.org) wrote: > Chris Wright <chrisw@osdl.org> wrote: > > > > Here's a simple (bit ugly) hack that does it (esp. the exec part). > > Seems complicated. IIRC it's just a matter of propagating a suitable flag > in oldmm->def_flags into the new mm in copy_mm().
For fork. Not exec. W/out smth for exec, then a utility that does equiv of MCL_FUTRE + exec won't work.
thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |