diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-07-22 17:54:32 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-07-22 17:54:32 +0000 |
commit | cd2c5f165873085922dfb615feca782526366d64 (patch) | |
tree | 41d5d1ff6e23558b0423525fcbc2401bb55d195e /sys/security | |
parent | 08b4415065406cc48c4e490a4b9ac5a953465c38 (diff) | |
download | FreeBSD-src-cd2c5f165873085922dfb615feca782526366d64.zip FreeBSD-src-cd2c5f165873085922dfb615feca782526366d64.tar.gz |
If an AUE_SYSCTL_NONADMIN audit event is selected, generate a record
with equivilent content to AUE_SYSCTL.
Obtained from: Apple Inc.
MFC after: 3 days
Diffstat (limited to 'sys/security')
-rw-r--r-- | sys/security/audit/audit_bsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index 5b4d9ed..a7fbb21 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -1382,6 +1382,7 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau) break; case AUE_SYSCTL: + case AUE_SYSCTL_NONADMIN: if (ARG_IS_VALID(kar, ARG_CTLNAME | ARG_LEN)) { for (ctr = 0; ctr < ar->ar_arg_len; ctr++) { tok = au_to_arg32(1, "name", |