diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2006-06-05 13:34:23 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2006-06-05 13:34:23 +0000 |
commit | 6e79e6f805dd81dcfe91095ff46aa3d6044dcd94 (patch) | |
tree | 7ca08027ea372a285d514be2f584c145189e04c3 /sys/kern/vfs_extattr.c | |
parent | 4b6d6bcffdcd30ec5367cb499f444c1f0de628fb (diff) | |
download | src-test2-6e79e6f805dd81dcfe91095ff46aa3d6044dcd94.tar.gz src-test2-6e79e6f805dd81dcfe91095ff46aa3d6044dcd94.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r-- | sys/kern/vfs_extattr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 35f381ebc0fd..95552ef5c4a7 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -183,6 +183,8 @@ quotactl(td, uap) int error; struct nameidata nd; + AUDIT_ARG(cmd, uap->cmd); + AUDIT_ARG(uid, uap->uid); if (jailed(td->td_ucred) && !prison_quotas) return (EPERM); NDINIT(&nd, LOOKUP, FOLLOW | MPSAFE | AUDITVNODE1, @@ -1303,6 +1305,7 @@ kern_mkfifo(struct thread *td, char *path, enum uio_seg pathseg, int mode) struct nameidata nd; int vfslocked; + AUDIT_ARG(mode, mode); restart: bwillwrite(); NDINIT(&nd, CREATE, LOCKPARENT | SAVENAME | MPSAFE | AUDITVNODE1, @@ -1518,6 +1521,7 @@ kern_symlink(struct thread *td, char *path, char *link, enum uio_seg segflg) if ((error = copyinstr(path, syspath, MAXPATHLEN, NULL)) != 0) goto out; } + AUDIT_ARG(text, syspath); restart: bwillwrite(); NDINIT(&nd, CREATE, LOCKPARENT | SAVENAME | MPSAFE | AUDITVNODE1, |