Update a comment: Rather than suggesting suser(), suggest priv(9) for

checking privilege.
This commit is contained in:
Robert Watson 2007-03-14 19:52:19 +00:00
parent 142f4ed4b1
commit eef1df45d3

View File

@ -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 {