PERFORCE change 133986 for review

Robert Watson rwatson at FreeBSD.org
Thu Jan 24 00:56:32 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=133986

Change 133986 by rwatson at rwatson_freebsd_capabilities on 2008/01/24 08:55:51

	Add a capability read/write flag for the sake of compactness.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/sys/sysctl.h#4 edit

Differences ...

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

@@ -87,6 +87,7 @@
 #define CTLFLAG_RDTUN	(CTLFLAG_RD|CTLFLAG_TUN)
 #define CTLFLAG_CAPRD	0x00040000	/* Can be read in capability mode */
 #define CTLFLAG_CAPWR	0x00020000	/* Can be written in capability mode */
+#define CTLFLAG_CAPRW	(CTLFLAG_CAPRD|CTLFLAG_CAPWR)
 
 /*
  * Secure level.   Note that CTLFLAG_SECURE == CTLFLAG_SECURE1.  


More information about the p4-projects mailing list