Date: Tue, 21 Feb 2006 22:35:13 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92149 for review Message-ID: <200602212235.k1LMZDBQ080007@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92149 Change 92149 by csjp@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602212235.k1LMZDBQ080007>