Re: [stable] Re: Linux 2.6.17.4

From: Chris Wright
Date: Thu Jul 06 2006 - 19:56:03 EST


* Willy Tarreau (w@xxxxxx) wrote:
> Interestingly, 2.4 tests (arg2 !=0 && arg2 != 1) so from the code changes
> above, it looks like the value 2 was added on purpose, but for what ? Maybe
> the fix is not really correct yet ?

The old code was changed to support a new feature (suid_dumpable
for debugging). The sysctl should support 2 (the new value), but the
prctl can be abused and hence reducing the test to one analgous to 2.4.
This is a correct fix.

thanks,
-chris
-
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/