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
This commit is contained in:
Robert Watson 2016-06-13 09:22:20 +00:00
parent b9c8a54dc3
commit 2aa8c03917
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301867

View File

@ -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: