Source-Changes archive

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

Re: CVS commit: src/sys/kern



Andrew Doran wrote:
Module Name:    src
Committed By:   ad
Date:           Mon Jan 28 20:09:06 UTC 2008

Modified Files:
        src/sys/kern: exec_subr.c kern_fork.c

Log Message:
Authorize using the LWP cached credentials, not process credentials.

Great catch on kern_fork.c... Ironically, the authorization check was
only added after we did some work to allow using the LWP cached
credentials (so we don't have to hold the mutex across the call) by
fixing up the NDIS code, yet the committed change used p_cred. Oops.

Thanks! :)

-e.



Home | Main Index | Thread Index | Old Index