e908c3f93e
OBS-URL: https://build.opensuse.org/request/show/53149 OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=21
27 lines
590 B
Diff
27 lines
590 B
Diff
From f2ea0c33d8c25ee40e7fe7a16d0994c8069bc120 Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Tue, 17 Aug 2010 13:22:01 +0200
|
|
Subject: [PATCH 3/7] log all su attempts
|
|
|
|
---
|
|
src/su.c | 3 +++
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/src/su.c b/src/su.c
|
|
index 1d3d007..2a9e423 100644
|
|
--- a/src/su.c
|
|
+++ b/src/su.c
|
|
@@ -75,6 +75,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
|
|
--
|
|
1.7.1
|
|
|