Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 04:12:14 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92110 for review
Message-ID:  <200602210412.k1L4CERS083201@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92110

Change 92110 by csjp@csjp_xor on 2006/02/21 04:11:49

	Actually check the audit condition. Somewhere along the way this got
	dropped.

Affected files ...

.. //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#12 (text+ko) ====

@@ -652,6 +652,8 @@
 		    strerror(errno));
 		errx(1, "Permission denied");
 	}
+	if (acond == AUC_NOAUDIT)
+		return;
 	afd = au_open();
 	if (afd < 0) {
 		syslog(LOG_AUTH | LOG_ERR, "audit: au_open failed: %s",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602210412.k1L4CERS083201>