Messages in this thread | | | Date | Wed, 25 Jan 2006 00:19:55 +0100 | From | Edgar Toernig <> | Subject | Re: Rationale for RLIMIT_MEMLOCK? |
| |
Theodore Ts'o wrote: > > ... proposed a hack where mlockall() would adjust RLIMIT_MEMLOCK. > Yes, no question it's a hack and a special case; the question is > whether cure or the disease is worse.
What about exec? The memory locks are removed on exec but with that hack the raised limit would stay. Looks like a security bug.
Ciao, ET. - 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/
| |