blob: f7f5764b02bf7a27c048e7a3fa3ffbaacbdd2044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Patch to fix the definition of OPT_AUDIT to be octal instead of decimal,
so that it works properly in a bit field.
Authors: Corey Wright <undefined@pobox.com>
Upstream status: not yet submitted
--- Linux-PAM/modules/pam_tally/pam_tally.c~ 2007-10-12 01:49:15.000000000 +0000
+++ Linux-PAM/modules/pam_tally/pam_tally.c 2007-10-12 03:26:04.000000000 +0000
@@ -95,7 +95,7 @@ struct tally_options {
#define OPT_PER_USER 010
#define OPT_NO_LOCK_TIME 020
#define OPT_NO_RESET 040
-#define OPT_AUDIT 100
+#define OPT_AUDIT 0100
/*---------------------------------------------------------------------*/
|