aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-12-04 17:25:44 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-12-04 17:25:44 +0200
commite094d8082007687103893671c4a032d5bbf4ee36 (patch)
treef05765d3ae96759fc8652d453169a4b2b26e1829 /lib
parent44ee01dd4d2f2101f4c2315e00881a8ef35eda42 (diff)
downloadpam-modules-e094d8082007687103893671c4a032d5bbf4ee36.tar.gz
pam-modules-e094d8082007687103893671c4a032d5bbf4ee36.tar.bz2
Implement audit option
Audit is equivalent to debug=100, i.e. it enables logging maximum debugging output.
Diffstat (limited to 'lib')
-rw-r--r--lib/graypam.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/graypam.h b/lib/graypam.h
index f818f86..e6b68aa 100644
--- a/lib/graypam.h
+++ b/lib/graypam.h
@@ -141,11 +141,9 @@ int gray_converse(pam_handle_t *pamh, int nargs,
/* Command line parsing */
#define CNTL_DEBUG 0x0001
-#define CNTL_AUDIT 0x0002
-#define CNTL_WAITDEBUG 0x0004
+#define CNTL_WAITDEBUG 0x0002
#define DEBUG(m,c) if (debug_level>=(m)) _pam_debug c
-#define AUDIT(c) if (cntl_flags&CNTL_AUDIT) _pam_debug c
enum pam_opt_type {
pam_opt_null,

Return to:

Send suggestions and report system problems to the System administrator.