PERFORCE change 148096 for review
Robert Watson
rwatson at FreeBSD.org
Fri Aug 22 10:21:12 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=148096
Change 148096 by rwatson at 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.
More information about the p4-projects
mailing list