summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/symlink.c
diff options
context:
space:
mode:
authorMarek Pospisil <Marek.Pospisil@Sun.COM>2010-03-05 13:16:08 -0800
committerMarek Pospisil <Marek.Pospisil@Sun.COM>2010-03-05 13:16:08 -0800
commit005d3feb53a9a10272d4a24b03991575d6a9bcb3 (patch)
tree3c239c5ec7be3de4c1719c4539033149da56a799 /usr/src/uts/common/syscall/symlink.c
parent83d7a2524bdbf7b1da1c47b52bc20eee0f12c60e (diff)
downloadillumos-joyent-005d3feb53a9a10272d4a24b03991575d6a9bcb3.tar.gz
PSARC/2009/354 Always on / no reboot Solaris Audit
6192139 Solaris auditing should be able to start collecting audit records without a reboot
Diffstat (limited to 'usr/src/uts/common/syscall/symlink.c')
-rw-r--r--usr/src/uts/common/syscall/symlink.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/syscall/symlink.c b/usr/src/uts/common/syscall/symlink.c
index 700029cf73..99dcdf01a4 100644
--- a/usr/src/uts/common/syscall/symlink.c
+++ b/usr/src/uts/common/syscall/symlink.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -31,8 +31,6 @@
* under license from the Regents of the University of California.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/isa_defs.h>
#include <sys/types.h>
@@ -84,7 +82,7 @@ top:
vattr.va_mask = AT_TYPE|AT_MODE;
error = VOP_SYMLINK(dvp, lpn.pn_path, &vattr,
tbuf, CRED(), NULL, 0);
- if (audit_active)
+ if (AU_AUDITING())
audit_symlink_create(dvp, lpn.pn_path,
tbuf, error);
}