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 29 Aug 2011 at 13:32:50 +0200, Martin Husemann wrote:
> > On Mon, Aug 29, 2011 at 12:13:38PM +0200, Aleksey Cheusov wrote:
> > > we will lost our data. Data set by first listerner will
> > > be overriden by the second listerner.
> > > This is not just waste of time.
> > 
> > Yes, but it is a design bug in the modules or in kauth and unrelated to
> > the (un-)sharing, isn't it?
> My expectation would be that if the first module unshares, the newly
> unshared data is passed to the second module, who can unshare it again.

This is exactly what I said about. kauth_cred_getrefcnt
or kauth_cred_copy can be used to solve this problem.

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro!

Home | Main Index | Thread Index | Old Index