diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-03-14 19:52:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-03-14 19:52:19 +0000 |
commit | c16242f92929efa452a0180240f4c52739c850f8 (patch) | |
tree | b28067764be48706f80916585d89b55842af9b77 /sys/sys | |
parent | 04128426cae658d1413688b44fa26504a92a70cd (diff) | |
download | FreeBSD-src-c16242f92929efa452a0180240f4c52739c850f8.zip FreeBSD-src-c16242f92929efa452a0180240f4c52739c850f8.tar.gz |
Update a comment: Rather than suggesting suser(), suggest priv(9) for
checking privilege.
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/ucred.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index aca849b..03cf5f9 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -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 { |