PERFORCE change 92149 for review
Christian S.J. Peron
csjp at FreeBSD.org
Tue Feb 21 14:35:17 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92149
Change 92149 by csjp at csjp_xor on 2006/02/21 22:34:55
Further reduce namespace pollution in su(1) by conditionally including
audit/bsm includes.
Affected files ...
.. //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#13 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/usr.bin/su/su.c#13 (text+ko) ====
@@ -81,8 +81,10 @@
#include <sys/resource.h>
#include <sys/wait.h>
+#ifdef USE_BSM_AUDIT
#include <bsm/libbsm.h>
#include <bsm/audit_uevents.h>
+#endif
#include <err.h>
#include <errno.h>
@@ -145,7 +147,9 @@
static void usage(void) __dead2;
static void export_pam_environment(void);
static int ok_to_export(const char *);
+#ifdef USE_BSM_AUDIT
static void audit_su(au_id_t, int, const char *, ...);
+#endif
extern char **environ;
More information about the trustedbsd-cvs
mailing list