Re: mlock(1)

From: Chris Wright
Date: Fri Sep 24 2004 - 20:39:21 EST


* Andrew Morton (akpm@xxxxxxxx) wrote:
> Chris Wright <chrisw@xxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/