From 3c10a035c9b996add3ca4d409ad5b22d2141f09f Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 1 May 2020 19:20:12 +0000 Subject: doc: remove references to PAM_SM_* macros Starting with commit a684595c0bbd88df71285f43fb27630e3829121e aka Linux-PAM-1.3.0~14 (Remove "--enable-static-modules" option and support from Linux-PAM), PAM_SM_* macros have no effect. --- doc/man/pam_sm_acct_mgmt.3.xml | 1 - doc/man/pam_sm_authenticate.3.xml | 1 - doc/man/pam_sm_chauthtok.3.xml | 1 - doc/man/pam_sm_close_session.3.xml | 1 - doc/man/pam_sm_open_session.3.xml | 1 - doc/man/pam_sm_setcred.3.xml | 1 - doc/mwg/Linux-PAM_MWG.xml | 24 ------------------------ 7 files changed, 30 deletions(-) diff --git a/doc/man/pam_sm_acct_mgmt.3.xml b/doc/man/pam_sm_acct_mgmt.3.xml index ff998676..b37dc306 100644 --- a/doc/man/pam_sm_acct_mgmt.3.xml +++ b/doc/man/pam_sm_acct_mgmt.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_ACCOUNT #include <security/pam_modules.h> int pam_sm_acct_mgmt diff --git a/doc/man/pam_sm_authenticate.3.xml b/doc/man/pam_sm_authenticate.3.xml index 42997265..ef3a8f15 100644 --- a/doc/man/pam_sm_authenticate.3.xml +++ b/doc/man/pam_sm_authenticate.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_AUTH #include <security/pam_modules.h> int pam_sm_authenticate diff --git a/doc/man/pam_sm_chauthtok.3.xml b/doc/man/pam_sm_chauthtok.3.xml index d8f36d69..25e17d02 100644 --- a/doc/man/pam_sm_chauthtok.3.xml +++ b/doc/man/pam_sm_chauthtok.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_PASSWORD #include <security/pam_modules.h> int pam_sm_chauthtok diff --git a/doc/man/pam_sm_close_session.3.xml b/doc/man/pam_sm_close_session.3.xml index db579ffa..6d8278ec 100644 --- a/doc/man/pam_sm_close_session.3.xml +++ b/doc/man/pam_sm_close_session.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_SESSION #include <security/pam_modules.h> int pam_sm_close_session diff --git a/doc/man/pam_sm_open_session.3.xml b/doc/man/pam_sm_open_session.3.xml index 0c9ec77f..ead7ca77 100644 --- a/doc/man/pam_sm_open_session.3.xml +++ b/doc/man/pam_sm_open_session.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_SESSION #include <security/pam_modules.h> int pam_sm_open_session diff --git a/doc/man/pam_sm_setcred.3.xml b/doc/man/pam_sm_setcred.3.xml index 5cfe899f..bb04a2df 100644 --- a/doc/man/pam_sm_setcred.3.xml +++ b/doc/man/pam_sm_setcred.3.xml @@ -17,7 +17,6 @@ - #define PAM_SM_AUTH #include <security/pam_modules.h> int pam_sm_setcred diff --git a/doc/mwg/Linux-PAM_MWG.xml b/doc/mwg/Linux-PAM_MWG.xml index 9274593d..3022538c 100644 --- a/doc/mwg/Linux-PAM_MWG.xml +++ b/doc/mwg/Linux-PAM_MWG.xml @@ -216,12 +216,6 @@ gcc -shared -o pam_module.so pam_module.o -lpam
Authentication management - - To be correctly initialized, PAM_SM_AUTH - must be #define'd prior to including - <security/pam_modules.h>. This will - ensure that the prototypes for static modules are properly declared. -
Account management - - To be correctly initialized, PAM_SM_ACCOUNT - must be #define'd prior to including - <security/pam_modules.h>. This will - ensure that the prototypes for static modules are properly declared. -
Session management - - To be correctly initialized, PAM_SM_SESSION - must be #define'd prior to including - <security/pam_modules.h>. This will - ensure that the prototypes for static modules are properly declared. -
Authentication token management - - To be correctly initialized, PAM_SM_PASSWORD - must be #define'd prior to including - <security/pam_modules.h>. This will - ensure that the prototypes for static modules are properly declared. -
-- cgit v1.2.3