diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-07-28 21:52:24 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-07-28 21:52:24 +0000 |
commit | fac30ba8b4fd00a95fd7fb49c4e4dc1bcdf4003c (patch) | |
tree | 988681253e24923a9605bb54cb8a7c6531f1e9f9 /sys/kern/kern_exec.c | |
parent | 21e3bcee4378f043e902dc1bab9ac2915235f40a (diff) | |
download | FreeBSD-src-fac30ba8b4fd00a95fd7fb49c4e4dc1bcdf4003c.zip FreeBSD-src-fac30ba8b4fd00a95fd7fb49c4e4dc1bcdf4003c.tar.gz |
Rework vnode argument auditing to follow the same structure, in order
to avoid exposing ARG_ macros/flag values outside of the audit code in
order to name which one of two possible vnodes will be audited for a
system call.
Approved by: re (kib)
Obtained from: TrustedBSD Project
MFC after: 1 month
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 3f36658..663ab64 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -419,7 +419,7 @@ interpret: goto exec_fail; vfslocked = VFS_LOCK_GIANT(binvp->v_mount); vn_lock(binvp, LK_EXCLUSIVE | LK_RETRY); - AUDIT_ARG_VNODE(binvp, ARG_VNODE1); + AUDIT_ARG_VNODE1(binvp); imgp->vp = binvp; } |