aboutsummaryrefslogtreecommitdiff
path: root/sys/bsm
diff options
context:
space:
mode:
authorDavid Bright <dab@FreeBSD.org>2019-11-18 13:31:16 +0000
committerDavid Bright <dab@FreeBSD.org>2019-11-18 13:31:16 +0000
commit2d5603fe6507ec4d773de4f37d61bd6187e42208 (patch)
tree3a29672a8e8f2bc5b31262a828871ec75ce9f50e /sys/bsm
parentd2e690132e5a9b7a955c34ced3fdd08064b77285 (diff)
downloadsrc-2d5603fe6507ec4d773de4f37d61bd6187e42208.tar.gz
src-2d5603fe6507ec4d773de4f37d61bd6187e42208.zip
Jail and capability mode for shm_rename; add audit support for shm_rename
Co-mingling two things here: * Addressing some feedback from Konstantin and Kyle re: jail, capability mode, and a few other things * Adding audit support as promised. The audit support change includes a partial refresh of OpenBSM from upstream, where the change to add shm_rename has already been accepted. Matthew doesn't plan to work on refreshing anything else to support audit for those new event types. Submitted by: Matthew Bryan <matthew.bryan@isilon.com> Reviewed by: kib Relnotes: Yes Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D22083
Notes
Notes: svn path=/head/; revision=354808
Diffstat (limited to 'sys/bsm')
-rw-r--r--sys/bsm/audit_kevents.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys/bsm/audit_kevents.h b/sys/bsm/audit_kevents.h
index 277e721d0547..195194887db4 100644
--- a/sys/bsm/audit_kevents.h
+++ b/sys/bsm/audit_kevents.h
@@ -644,6 +644,19 @@
#define AUE_SETLOGINCLASS 43238 /* FreeBSD-specific. */
#define AUE_POSIX_FADVISE 43239 /* FreeBSD-specific. */
#define AUE_SCTP_GENERIC_SENDMSG_IOV 43240 /* FreeBSD-specific. */
+#define AUE_ABORT2 43241 /* FreeBSD-specific. */
+#define AUE_SEMTIMEDWAIT 43242 /* FreeBSD-specific. */
+#define AUE_SEMDESTROY 43243 /* FreeBSD-specific. */
+#define AUE_SEMGETVALUE 43244 /* FreeBSD-specific. */
+#define AUE_SEMINIT 43245 /* FreeBSD-specific. */
+#define AUE_SEMPOST 43246 /* FreeBSD-specific. */
+#define AUE_SEMTRYWAIT 43247 /* FreeBSD-specific. */
+#define AUE_SEMWAIT 43258 /* FreeBSD-specific. */
+#define AUE_FGETUUID 43259 /* CADETS. */
+#define AUE_GETUUID 43260 /* CADETS. */
+#define AUE_LGETUUID 43261 /* CADETS. */
+#define AUE_EXECVEAT 43262 /* FreeBSD/Linux. */
+#define AUE_SHMRENAME 43263 /* FreeBSD-specific. */
/*
* Darwin BSM uses a number of AUE_O_* definitions, which are aliased to the
@@ -798,12 +811,6 @@
#define AUE_REMOVEXATTR AUE_NULL
#define AUE_SBRK AUE_NULL
#define AUE_SELECT AUE_NULL
-#define AUE_SEMDESTROY AUE_NULL
-#define AUE_SEMGETVALUE AUE_NULL
-#define AUE_SEMINIT AUE_NULL
-#define AUE_SEMPOST AUE_NULL
-#define AUE_SEMTRYWAIT AUE_NULL
-#define AUE_SEMWAIT AUE_NULL
#define AUE_SEMWAITSIGNAL AUE_NULL
#define AUE_SETITIMER AUE_NULL
#define AUE_SETSGROUPS AUE_NULL