aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-07-01 15:37:23 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-07-01 15:37:23 +0000
commit422d78667687764f4f5f84e8e6b81ef8c79e9b18 (patch)
tree209dbcb0db8163797e30cc34f9ca0cb354cd2c2b /sys
parentc5957d6bba0c4cc0539a5d16d00e7a9a368a686a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_syscalls.c1
-rw-r--r--sys/security/audit/audit_bsm.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index f3d21e9b9829..2008efe8bf68 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1924,6 +1924,7 @@ lseek(td, uap)
int error, noneg;
int vfslocked;
+ AUDIT_ARG_FD(uap->fd);
if ((error = fget(td, uap->fd, &fp)) != 0)
return (error);
if (!(fp->f_ops->fo_flags & DFLAG_SEEKABLE)) {
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c
index ee92e16b103f..1eb9679fa364 100644
--- a/sys/security/audit/audit_bsm.c
+++ b/sys/security/audit/audit_bsm.c
@@ -679,7 +679,6 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau)
case AUE_GETRESUID:
case AUE_GETRESGID:
case AUE_KQUEUE:
- case AUE_LSEEK:
case AUE_MODLOAD:
case AUE_MODUNLOAD:
case AUE_MSGSYS:
@@ -870,6 +869,7 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau)
case AUE_FUTIMES:
case AUE_GETDIRENTRIES:
case AUE_GETDIRENTRIESATTR:
+ case AUE_LSEEK:
case AUE_POLL:
case AUE_READ:
case AUE_READV: