summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-29 07:44:43 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-29 07:44:43 +0000
commit6b019307f44e0dbb389ad68649826526b790a7cc (patch)
tree39dc0437b4b34bd573d3d15da8f6f0ebe54df590 /sys/kern/vfs_mount.c
parent2ef0bbd3c7fc67e7baf0a4a9f965ab28f0268895 (diff)
downloadFreeBSD-src-6b019307f44e0dbb389ad68649826526b790a7cc.zip
FreeBSD-src-6b019307f44e0dbb389ad68649826526b790a7cc.tar.gz
Eliminate ARG_UPATH[12] arguments to AUDIT_ARG_UPATH() and instead
provide specific macros, AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() to capture path information for audit records. This allows us to move the definitions of ARG_* out of the public audit header file, as they are an implementation detail of our current kernel-internal audit record, which may change. Approved by: re (kensmith) Obtained from: TrustedBSD Project MFC after: 1 month
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 7a13719..f304ec6 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -1144,7 +1144,7 @@ unmount(td, uap)
}
mtx_unlock(&mountlist_mtx);
} else {
- AUDIT_ARG_UPATH(td, pathbuf, ARG_UPATH1);
+ AUDIT_ARG_UPATH1(td, pathbuf);
mtx_lock(&mountlist_mtx);
TAILQ_FOREACH_REVERSE(mp, &mountlist, mntlist, mnt_list) {
if (strcmp(mp->mnt_stat.f_mntonname, pathbuf) == 0)
OpenPOWER on IntegriCloud