diff options
author | rwatson <rwatson@FreeBSD.org> | 2016-06-13 09:22:20 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2016-06-13 09:22:20 +0000 |
commit | a898890305938b9d337f853c7d45ca5f1d4e019d (patch) | |
tree | d4c6382af39ec9097fbbe565ffdd251cc116e4b4 /sys/security/audit | |
parent | 7e7c56668a9a869ccea84ffa94ee20ed1905103a (diff) | |
download | FreeBSD-src-a898890305938b9d337f853c7d45ca5f1d4e019d.zip FreeBSD-src-a898890305938b9d337f853c7d45ca5f1d4e019d.tar.gz |
Implement AUE_PREAD and AUE_PWRITE BSM conversion support, eliminating
console warnings when pread(2) and pwrite(2) are used with full
system-call auditing enabled. We audit the same file-descriptor data
for these calls as we do read(2) and write(2).
Approved by: re (kib)
MFC after: 3 days
Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/security/audit')
-rw-r--r-- | sys/security/audit/audit_bsm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index 9f29ece..fed111a 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -952,6 +952,8 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau) case AUE_GETDIRENTRIESATTR: case AUE_LSEEK: case AUE_POLL: + case AUE_PREAD: + case AUE_PWRITE: case AUE_READ: case AUE_READV: case AUE_WRITE: |