On Aug 29, 7:54pm, [email protected] (matthew green) wrote: -- Subject: re: Addition to kauth(9) framework
| | > > In article <[email protected]>, | > > YAMAMOTO Takashi <[email protected]> wrote: | > >>hi, | > >> | > >>> I'd like to apply the attached patch. | > >>> It implements two things: | > >>> | > >>> - chroot(2)-ed process is given new kauth_cred_t with reference count | > >>> equal to 1. | > >> | > >>can you find a way to avoid this? | > >> | > >>YAMAMOTO Takashi | > > | > > He tried and I think that this is the minimal hook he needs. | > | > do you mean that we need to unshare the credential unconditionally, | > regardless his module is used or not? why? | | maybe it's just me, but i actually have absolutely no problem | with chroot unsharing kauth_cred_t by default. it just seems | to have more generic safety aspects. I share the same sentiment; I don't see the change as a big deal. christos
