summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/stat.c
diff options
context:
space:
mode:
authorgww <none@none>2007-12-27 11:07:48 -0800
committergww <none@none>2007-12-27 11:07:48 -0800
commitd3e55dcdc881b833a707e39ae1e12d8d5d35ad2d (patch)
treed4a263b9b1d5f69787f7b9713c35b09dd2d66751 /usr/src/uts/common/syscall/stat.c
parentbbd6719318c24a8a2364080d8a139444e9944311 (diff)
downloadillumos-joyent-d3e55dcdc881b833a707e39ae1e12d8d5d35ad2d.tar.gz
1162981 Remove C2_AUDIT #defines from the kernel and build files
Diffstat (limited to 'usr/src/uts/common/syscall/stat.c')
-rw-r--r--usr/src/uts/common/syscall/stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/uts/common/syscall/stat.c b/usr/src/uts/common/syscall/stat.c
index c559747e2f..8bd03c2454 100644
--- a/usr/src/uts/common/syscall/stat.c
+++ b/usr/src/uts/common/syscall/stat.c
@@ -120,10 +120,8 @@ cstatat_getvp(int fd, char *name, int nmflag,
}
*cred = cr;
-#ifdef C2_AUDIT
if (audit_active)
audit_setfsat_path(1);
-#endif /* C2_AUDIT */
if (nmflag == 1 || (nmflag == 2 && name != NULL)) {