NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38174: kauth_cred_t interpreted outside of kauth
The following reply was made to PR kern/38174; it has been noted by GNATS.
From: Elad Efrat <elad%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/38174: kauth_cred_t interpreted outside of kauth
Date: Wed, 05 Mar 2008 17:02:37 +0200
pooka%iki.fi@localhost wrote:
>> 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.
>
>
Aren't they used to indicate the request is coming from the kernel?
See kern_auth.c revision 1.17.
-e.
Home |
Main Index |
Thread Index |
Old Index