From 405e5d6856fed02d11186de8bc6feb9924e9ab60 Mon Sep 17 00:00:00 2001 From: tz204579 Date: Fri, 5 Jan 2007 01:02:16 -0800 Subject: 4689038 auditon() error return is ambiguous 4823956 file(1) does not recognize Solaris Audit File type 6480592 auditing records incorrect pathnames --- usr/src/uts/common/c2/audit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/c2/audit.c') diff --git a/usr/src/uts/common/c2/audit.c b/usr/src/uts/common/c2/audit.c index 320d1ad7a0..764632382f 100644 --- a/usr/src/uts/common/c2/audit.c +++ b/usr/src/uts/common/c2/audit.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -628,7 +628,7 @@ audit_symlink(struct pathname *pnp, struct pathname *sympath) /* is there anything to save? */ if (len_path) { - pnp->pn_path = cp; + pnp->pn_path = pnp->pn_buf; audit_pathbuild(pnp); pnp->pn_path = sp; } -- cgit v1.2.3