doc: remove references to PAM_SM_* macros

Starting with commit a684595c0b aka
Linux-PAM-1.3.0~14 (Remove "--enable-static-modules" option and support
from Linux-PAM), PAM_SM_* macros have no effect.
This commit is contained in:
Dmitry V. Levin 2020-05-01 19:20:12 +00:00
parent 37b5259298
commit 3c10a035c9
7 changed files with 0 additions and 30 deletions

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_acct_mgmt-synopsis'>
<funcsynopsisinfo>#define PAM_SM_ACCOUNT</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_acct_mgmt</function></funcdef>

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_authenticate-synopsis'>
<funcsynopsisinfo>#define PAM_SM_AUTH</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_authenticate</function></funcdef>

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_chauthtok-synopsis'>
<funcsynopsisinfo>#define PAM_SM_PASSWORD</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_chauthtok</function></funcdef>

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_close_session-synopsis'>
<funcsynopsisinfo>#define PAM_SM_SESSION</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_close_session</function></funcdef>

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_open_session-synopsis'>
<funcsynopsisinfo>#define PAM_SM_SESSION</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_open_session</function></funcdef>

View File

@ -17,7 +17,6 @@
<refsynopsisdiv>
<funcsynopsis id='pam_sm_setcred-synopsis'>
<funcsynopsisinfo>#define PAM_SM_AUTH</funcsynopsisinfo>
<funcsynopsisinfo>#include &lt;security/pam_modules.h&gt;</funcsynopsisinfo>
<funcprototype>
<funcdef>int <function>pam_sm_setcred</function></funcdef>

View File

@ -216,12 +216,6 @@ gcc -shared -o pam_module.so pam_module.o -lpam
</section>
<section id="mwg-expected-of-module-auth">
<title>Authentication management</title>
<para>
To be correctly initialized, <parameter>PAM_SM_AUTH</parameter>
must be <command>#define</command>'d prior to including
<function>&lt;security/pam_modules.h&gt;</function>. This will
ensure that the prototypes for static modules are properly declared.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="pam_sm_authenticate.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@ -229,23 +223,11 @@ gcc -shared -o pam_module.so pam_module.o -lpam
</section>
<section id="mwg-expected-of-module-acct">
<title>Account management</title>
<para>
To be correctly initialized, <parameter>PAM_SM_ACCOUNT</parameter>
must be <command>#define</command>'d prior to including
<function>&lt;security/pam_modules.h&gt;</function>. This will
ensure that the prototypes for static modules are properly declared.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="pam_sm_acct_mgmt.xml"/>
</section>
<section id="mwg-expected-of-module-session">
<title>Session management</title>
<para>
To be correctly initialized, <parameter>PAM_SM_SESSION</parameter>
must be <command>#define</command>'d prior to including
<function>&lt;security/pam_modules.h&gt;</function>. This will
ensure that the prototypes for static modules are properly declared.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="pam_sm_open_session.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@ -253,12 +235,6 @@ gcc -shared -o pam_module.so pam_module.o -lpam
</section>
<section id="mwg-expected-of-module-chauthtok">
<title>Authentication token management</title>
<para>
To be correctly initialized, <parameter>PAM_SM_PASSWORD</parameter>
must be <command>#define</command>'d prior to including
<function>&lt;security/pam_modules.h&gt;</function>. This will
ensure that the prototypes for static modules are properly declared.
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="pam_sm_chauthtok.xml"/>
</section>