PERFORCE change 16462 for review

John Baldwin jhb at freebsd.org
Fri Aug 23 15:34:21 GMT 2002


On 23-Aug-2002 Brian Feldman wrote:
> http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16462
> 
> Change 16462 by green at green_laptop_2 on 2002/08/23 07:04:41
> 
>       * Don't grab Giant implicitly in mac_cred_mmapped_drop_perms(9).
>       * Select a good default label (read: "equal") for tty devices.
>       * Don't crhold(9) before calling crcopy(9) due to undocumented
>         reference-count assertions.

Eh, crcopy() doesn't change the reference count.  However, since we have
to bump reference counts on things like uidinfo's, etc. it needs to ensure
that you only do a crcopy() onto a "blank" ucred.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list