Update a comment: Rather than suggesting suser(), suggest priv(9) for
checking privilege.
This commit is contained in:
parent
142f4ed4b1
commit
eef1df45d3
@ -36,8 +36,8 @@
|
||||
/*
|
||||
* Credentials.
|
||||
*
|
||||
* Please do not inspect cr_uid directly to determine superuserness.
|
||||
* Only the suser() or suser_cred() function should be used for this.
|
||||
* Please do not inspect cr_uid directly to determine superuserness. The
|
||||
* priv(9) interface should be used to check for privilege.
|
||||
*/
|
||||
#if defined(_KERNEL) || defined(_WANT_UCRED)
|
||||
struct ucred {
|
||||
|
Loading…
Reference in New Issue
Block a user