Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2008 10:21:11 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 148096 for review
Message-ID:  <200808221021.m7MALB5R031914@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=148096

Change 148096 by rwatson@rwatson_freebsd_capabilities on 2008/08/22 10:20:18

	Do expose CRED_FLAG_CAPMODE outside of _KERNEL and _WANT_CRED,
	as it may be exported via sysctl.  We may want to mask this a
	bit more and expose a specific KCRED_FLAG_CAPMODE out of the
	sysctl in the future to hide implementation/ABI details.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/sys/ucred.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/sys/ucred.h#3 (text+ko) ====

@@ -63,12 +63,12 @@
 };
 #define	NOCRED	((struct ucred *)0)	/* no credential available */
 #define	FSCRED	((struct ucred *)-1)	/* filesystem credential */
+#endif /* _KERNEL || _WANT_UCRED */
 
 /*
  * Flags for cr_flags.
  */
 #define	CRED_FLAG_CAPMODE	0x00000001	/* In capability mode. */
-#endif /* _KERNEL || _WANT_UCRED */
 
 /*
  * This is the external representation of struct ucred.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808221021.m7MALB5R031914>