PERFORCE change 148287 for review

Robert Watson rwatson at FreeBSD.org
Sun Aug 24 21:25:09 UTC 2008


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

Change 148287 by rwatson at rwatson_cinnamon on 2008/08/24 21:24:09

	Update audit_event for AUE_POSIX_OPENPT; apparently missed in a
	previous submit.
	
	Add four new TrustedBSD Capabilities-related system calls to the
	event list.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/etc/audit_event#30 edit
.. //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/etc/audit_event#30 (text+ko) ====

@@ -1,5 +1,5 @@
 #
-# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#29 $
+# $P4: //depot/projects/trustedbsd/openbsm/etc/audit_event#30 $
 #
 # The mapping between event identifiers and values is also hard-coded in
 # audit_kevents.h and audit_uevents.h, so changes must occur in both places,
@@ -530,6 +530,10 @@
 43183:AUE_UMASK_EXTENDED:umask_extended(2):pc
 43184:AUE_OPENAT:openat(2) - attr only:fa
 43185:AUE_POSIX_OPENPT:posix_openpt(2):ip
+43186:AUE_CAP_NEW:cap_new(2):fm
+43187:AUE_CAP_GETRIGHTS:cap_getrights(2):fm
+43188:AUE_CAP_ENTER:cap_enter(2):pc
+43189:AUE_CAP_GETMODE:cap_getmode(2):pc
 #
 # User space system events.
 #

==== //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#3 (text+ko) ====

@@ -26,7 +26,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#2 $
+ * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_kevents.h#3 $
  */
 
 #ifndef _BSM_AUDIT_KEVENTS_H_
@@ -581,6 +581,10 @@
 #define	AUE_UMASK_EXTENDED	43183	/* Darwin. */
 #define	AUE_OPENAT		43184	/* FreeBSD. */
 #define	AUE_POSIX_OPENPT	43185	/* FreeBSD. */
+#define	AUE_CAP_NEW		43186	/* TrustedBSD. */
+#define	AUE_CAP_GETRIGHTS	43187	/* TrustedBSD. */
+#define	AUE_CAP_ENTER		43188	/* TrustedBSD. */
+#define	AUE_CAP_GETMODE		43189	/* TrustedBSD. */
 
 /*
  * Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the


More information about the p4-projects mailing list