tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Addition to kauth(9) framework



> On Mon, Aug 29, 2011 at 11:13:56AM +0200, Aleksey Cheusov wrote:
> >  If both, we have a problem.
> 
> Why? Shouldn't the first just go away (so we wasted a little, but who
> cares) when the second does the unshare?
> 
> Martin

If two modules listern for KAUTH_CRED_CHROOT
and each one replaces kauth_cred_t with new one
*AND* add some additional information (e.g. root directory)
using kauth_cred_setdata with different kauth_key_t,
we will lost our data. Data set by first listerner will
be overriden by the second listerner.
This is not just waste of time.

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone


Home | Main Index | Thread Index | Old Index