Re: [PATCH] capabilities not inherited

From: Chris Wright
Date: Wed Jun 08 2005 - 15:46:48 EST


* Manfred Georg (mgeorg@xxxxxxxxxxxxx) wrote:
> I was working with passing capabilities through an exec and it
> didn't do what I expected it to. That is, if I set a bit in
> the inherited capabilities, it is not "inherited" after an
> exec(). After going through the code many times, and still not
> understanding it, I hacked together this patch. It probably
> has unforseen side effects and there was probably some
> reason it was not done in the first place.

True to both. If you'd like to work with this, check the archives for
similar patches. Most recent in a thread from Alex Nyberg starting
here:

http://marc.theaimsgroup.com/?l=linux-kernel&m=111062795600730&w=2

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/