PERFORCE change 92110 for review

Christian S.J. Peron csjp at FreeBSD.org
Mon Feb 20 20:12:17 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92110

Change 92110 by csjp at 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",


More information about the trustedbsd-cvs mailing list