summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/ucred.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h
index d3899c3..c0e9cc2 100644
--- a/sys/sys/ucred.h
+++ b/sys/sys/ucred.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ucred.h 8.4 (Berkeley) 1/9/95
- * $Id$
+ * $Id: ucred.h,v 1.8 1997/02/22 09:46:19 peter Exp $
*/
#ifndef _SYS_UCRED_H_
@@ -39,6 +39,9 @@
/*
* Credentials.
+ *
+ * Please do not inspect cr_uid directly to determine superuserness.
+ * only the suser() function should be used for this.
*/
struct ucred {
u_short cr_ref; /* reference count */
OpenPOWER on IntegriCloud