diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-12-04 17:25:44 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-12-04 17:25:44 +0200 |
commit | e094d8082007687103893671c4a032d5bbf4ee36 (patch) | |
tree | f05765d3ae96759fc8652d453169a4b2b26e1829 /lib | |
parent | 44ee01dd4d2f2101f4c2315e00881a8ef35eda42 (diff) | |
download | pam-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.h | 4 |
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, |