Source-Changes archive

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

Re: CVS commit: src/sys/kern



> Module Name:  src
> Committed By: ad
> Date:         Mon Jul 17 15:29:06 UTC 2006
> 
> Modified Files:
>       src/sys/kern: kern_exec.c kern_fork.c kern_prot.c
> 
> Log Message:
> - Always make p->p_cred a private copy before modifying.
> - Share credentials among processes when forking.

do you have a plan to add some locking?
"p->p_cred = kauth_cred_copy(p->p_cred);" is not safe
as kauth_cred_copy can sleep.

YAMAMOTO Takashi



Home | Main Index | Thread Index | Old Index