summaryrefslogtreecommitdiff
path: root/libpam/pam_private.h
diff options
context:
space:
mode:
authorTomas Mraz <tm@t8m.info>2008-11-24 13:56:29 +0000
committerTomas Mraz <tm@t8m.info>2008-11-24 13:56:29 +0000
commite6364f057ddd81b7eb06487047b20a04f29022af (patch)
tree42e58be4648d06fb5d27e30d5989a4487b8d91fa /libpam/pam_private.h
parentbc32e648b76cb6eef5a3dd4720a7384d918ca6fb (diff)
Relevant BUGIDs: rhbz#471762
Purpose of commit: new feature Commit summary: --------------- 2008-11-24 Tomas Mraz <t8m@centrum.cz> * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at beginning of type token marks silent module. (_pam_load_module): Add handler_type parameter. Do not log module load error if module is silent. (_pam_add_handler): Pass handler_type to _pam_load_module(). * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE. * doc/man/pam.conf-syntax.xml: Document the '-' at beginning of type.
Diffstat (limited to 'libpam/pam_private.h')
-rw-r--r--libpam/pam_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpam/pam_private.h b/libpam/pam_private.h
index 333f4d0f..62756ad4 100644
--- a/libpam/pam_private.h
+++ b/libpam/pam_private.h
@@ -60,6 +60,7 @@ struct handler {
#define PAM_HT_MODULE 0
#define PAM_HT_MUST_FAIL 1
#define PAM_HT_SUBSTACK 2
+#define PAM_HT_SILENT_MODULE 3
struct loaded_module {
char *name;