]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
log all su attempts
authorLudwig Nussel <ludwig.nussel@suse.de>
Tue, 17 Aug 2010 11:22:01 +0000 (13:22 +0200)
committerLudwig Nussel <ludwig.nussel@suse.de>
Thu, 24 May 2012 11:52:42 +0000 (13:52 +0200)
login-utils/su.c

index b0cf9639cd990601ecb4e7a7ce210acd50de9923..e97edbba37535182c56945858e1915dac93fb0f3 100644 (file)
@@ -83,6 +83,9 @@
 
 #if HAVE_SYSLOG_H && HAVE_SYSLOG
 # include <syslog.h>
+# define SYSLOG_SUCCESS  1
+# define SYSLOG_FAILURE  1
+# define SYSLOG_NON_ROOT 1
 #else
 # undef SYSLOG_SUCCESS
 # undef SYSLOG_FAILURE