Page MenuHomeFreeBSD

D23929.diff
No OneTemporary

D23929.diff

Index: head/sys/security/audit/audit_bsm.c
===================================================================
--- head/sys/security/audit/audit_bsm.c
+++ head/sys/security/audit/audit_bsm.c
@@ -803,25 +803,26 @@
UPATH1_VNODE1_TOKENS;
break;
- case AUE_CHDIR:
- case AUE_CHROOT:
- case AUE_FSTATAT:
- case AUE_FUTIMESAT:
- case AUE_GETATTRLIST:
- case AUE_JAIL:
- break;
-
/*
* NB: We may want to verify that the appropriate
* audit args are being processed here, but I think
* a bit analysis is required.
+ *
+ * Process AUE_JAIL_SET in the next block so we can pickup any path
+ * related tokens that might exist.
*/
case AUE_JAIL_GET:
- case AUE_JAIL_SET:
case AUE_JAIL_ATTACH:
case AUE_JAIL_REMOVE:
break;
+ case AUE_JAIL_SET:
+ case AUE_CHDIR:
+ case AUE_CHROOT:
+ case AUE_FSTATAT:
+ case AUE_FUTIMESAT:
+ case AUE_GETATTRLIST:
+ case AUE_JAIL:
case AUE_LUTIMES:
case AUE_NFS_GETFH:
case AUE_LGETFH:

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 4:45 AM (11 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15611255
Default Alt Text
D23929.diff (949 B)

Event Timeline