summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-28 21:52:24 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-28 21:52:24 +0000
commitfac30ba8b4fd00a95fd7fb49c4e4dc1bcdf4003c (patch)
tree988681253e24923a9605bb54cb8a7c6531f1e9f9 /sys/kern/kern_exec.c
parent21e3bcee4378f043e902dc1bab9ac2915235f40a (diff)
downloadFreeBSD-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.c2
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;
}
OpenPOWER on IntegriCloud