NetBSD-Bugs archive

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

kern/38174: kauth_cred_t interpreted outside of kauth



>Number:         38174
>Category:       kern
>Synopsis:       kauth_cred_t interpreted outside of kauth
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 05 14:50:00 +0000 2008
>Originator:     Antti Kantee
>Release:        
>Organization:
>Environment:
>Description:
NOCRED and FSCRED are being interpreted outside of kauth.
>How-To-Repeat:
grep, especially file system code, e.g:

       if (cred == NOCRED)
                panic("ffs_alloc: missing credential");

>Fix:
Move handling inside kauth.



Home | Main Index | Thread Index | Old Index