diff options
author | Stefan Schubert <schubi@suse.de> | 2022-10-25 16:29:41 +0200 |
---|---|---|
committer | Thorsten Kukuk <5908016+thkukuk@users.noreply.github.com> | 2022-12-16 10:31:37 +0100 |
commit | cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996 (patch) | |
tree | 28c25df584fc32ba8f02af48c249c987be91e9ac /doc/adg | |
parent | 6135c45347b6173e305fda66eef138bde693b795 (diff) | |
download | pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.gz pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.tar.bz2 pam-cf2fc5ff7b4a8555fda2a5ebe5f6ab0e45c22996.zip |
doc: Update PAM documentation from DockBook 4 to DocBook 5
Changed files
--------------
Make.xml.rules.in:
- Using RNG file instead of DTD file for checking XML files.
- Taking the correct stylesheet for README files.
doc/sag/Makefile.am, doc/adg/Makefile.am, doc/mwg/Makefile.am:
- Using RNG file instead of DTD file for checking XML files.
configure.ac:
- Adding a new option for selecting RNG check file (-enable-docbook-rng)
- Switching stylesheets to docbook 5
- Checking DocBook 5 environment instead of DocBook 4 environment
*.xml:
Update from DockBook 4 to DocBook 5
Diffstat (limited to 'doc/adg')
-rw-r--r-- | doc/adg/Linux-PAM_ADG.xml | 199 | ||||
-rw-r--r-- | doc/adg/Makefile.am | 6 | ||||
-rw-r--r-- | doc/adg/pam_acct_mgmt.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_authenticate.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_chauthtok.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_close_session.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_conv.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_end.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_fail_delay.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_get_item.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_getenv.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_getenvlist.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_misc_conv.xml | 15 | ||||
-rw-r--r-- | doc/adg/pam_misc_drop_env.xml | 15 | ||||
-rw-r--r-- | doc/adg/pam_misc_paste_env.xml | 15 | ||||
-rw-r--r-- | doc/adg/pam_misc_setenv.xml | 15 | ||||
-rw-r--r-- | doc/adg/pam_open_session.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_putenv.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_set_item.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_setcred.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_start.xml | 20 | ||||
-rw-r--r-- | doc/adg/pam_strerror.xml | 20 |
22 files changed, 219 insertions, 366 deletions
diff --git a/doc/adg/Linux-PAM_ADG.xml b/doc/adg/Linux-PAM_ADG.xml index 79452e17..169e15cf 100644 --- a/doc/adg/Linux-PAM_ADG.xml +++ b/doc/adg/Linux-PAM_ADG.xml @@ -1,50 +1,39 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<book id="adg"> - <bookinfo> +<book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg"> + <info> <title>The Linux-PAM Application Developers' Guide</title> <authorgroup> - <author> - <firstname>Andrew G.</firstname> - <surname>Morgan</surname> - <email>morgan@kernel.org</email> - </author> - <author> - <firstname>Thorsten</firstname> - <surname>Kukuk</surname> - <email>kukuk@thkukuk.de</email> - </author> + <author><personname><firstname>Andrew G.</firstname><surname>Morgan</surname></personname><email>morgan@kernel.org</email></author> + <author><personname><firstname>Thorsten</firstname><surname>Kukuk</surname></personname><email>kukuk@thkukuk.de</email></author> </authorgroup> <releaseinfo>Version 1.1.2, 31. August 2010</releaseinfo> <abstract> <para> This manual documents what an application developer needs to know - about the <emphasis remap='B'>Linux-PAM</emphasis> library. It + about the <emphasis remap="B">Linux-PAM</emphasis> library. It describes how an application might use the - <emphasis remap='B'>Linux-PAM</emphasis> library to authenticate + <emphasis remap="B">Linux-PAM</emphasis> library to authenticate users. In addition it contains a description of the functions to be found in <filename>libpam_misc</filename> library, that can be used in general applications. Finally, it contains some comments on PAM related security issues for the application developer. </para> </abstract> - </bookinfo> + </info> - <chapter id="adg-introduction"> + <chapter xml:id="adg-introduction"> <title>Introduction</title> - <section id="adg-introduction-description"> + <section xml:id="adg-introduction-description"> <title>Description</title> <para> - <emphasis remap='B'>Linux-PAM</emphasis> + <emphasis remap="B">Linux-PAM</emphasis> (Pluggable Authentication Modules for Linux) is a library that enables the local system administrator to choose how individual applications authenticate users. For an overview of the - <emphasis remap='B'>Linux-PAM</emphasis> library see the + <emphasis remap="B">Linux-PAM</emphasis> library see the <emphasis>Linux-PAM System Administrators' Guide</emphasis>. </para> <para> - It is the purpose of the <emphasis remap='B'>Linux-PAM</emphasis> + It is the purpose of the <emphasis remap="B">Linux-PAM</emphasis> project to liberate the development of privilege granting software from the development of secure and appropriate authentication schemes. This is accomplished by providing a documented library of functions @@ -64,11 +53,11 @@ </para> </section> - <section id="adg-introduction-synopsis"> + <section xml:id="adg-introduction-synopsis"> <title>Synopsis</title> <para> For general applications that wish to use the services provided by - <emphasis remap='B'>Linux-PAM</emphasis> the following is a summary + <emphasis remap="B">Linux-PAM</emphasis> the following is a summary of the relevant linking information: <programlisting> #include <security/pam_appl.h> @@ -92,7 +81,7 @@ cc -o application .... -lpam -lpam_misc </section> </chapter> - <chapter id="adg-overview"> + <chapter xml:id="adg-overview"> <title>Overview</title> <para> Most service-giving applications are restricted. In other words, @@ -108,7 +97,7 @@ cc -o application .... -lpam -lpam_misc authentication-token (password changing) management services. It is important to realize when writing a PAM based application that these services are provided in a manner that is - <emphasis remap='B'>transparent</emphasis> to the application. That is + <emphasis remap="B">transparent</emphasis> to the application. That is to say, when the application is written, no assumptions can be made about <emphasis>how</emphasis> the client will be authenticated. </para> @@ -206,74 +195,58 @@ cc -o application .... -lpam -lpam_misc </para> </chapter> - <chapter id="adg-interface"> + <chapter xml:id="adg-interface"> <title> - The public interface to <emphasis remap='B'>Linux-PAM</emphasis> + The public interface to <emphasis remap="B">Linux-PAM</emphasis> </title> <para> Firstly, the relevant include file for the - <emphasis remap='B'>Linux-PAM</emphasis> library is + <emphasis remap="B">Linux-PAM</emphasis> library is <function><security/pam_appl.h></function>. It contains the definitions for a number of functions. After listing these functions, we collect some guiding remarks for programmers. </para> - <section id="adg-interface-by-app-expected"> + <section xml:id="adg-interface-by-app-expected"> <title>What can be expected by the application</title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_start.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_end.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_set_item.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_get_item.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_strerror.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_fail_delay.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_authenticate.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_setcred.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_acct_mgmt.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_chauthtok.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_open_session.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_close_session.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_putenv.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_getenv.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_getenvlist.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_start.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_end.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_set_item.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_get_item.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_strerror.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_fail_delay.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_authenticate.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_setcred.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_acct_mgmt.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_chauthtok.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_open_session.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_close_session.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_putenv.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_getenv.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_getenvlist.xml"/> </section> - <section id="adg-interface-of-app-expected"> + <section xml:id="adg-interface-of-app-expected"> <title>What is expected of an application</title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_conv.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_conv.xml"/> </section> - <section id="adg-interface-programming-notes"> + <section xml:id="adg-interface-programming-notes"> <title>Programming notes</title> <para> Note, all of the authentication service function calls accept the - token <emphasis remap='B'>PAM_SILENT</emphasis>, which instructs + token <emphasis remap="B">PAM_SILENT</emphasis>, which instructs the modules to not send messages to the application. This token can be logically OR'd with any one of the permitted tokens specific to the individual function calls. - <emphasis remap='B'>PAM_SILENT</emphasis> does not override the + <emphasis remap="B">PAM_SILENT</emphasis> does not override the prompting of the user for passwords etc., it only stops informative messages from being generated. </para> </section> </chapter> - <chapter id="adg-security"> + <chapter xml:id="adg-security"> <title> - Security issues of <emphasis remap='B'>Linux-PAM</emphasis> + Security issues of <emphasis remap="B">Linux-PAM</emphasis> </title> <para> PAM, from the perspective of an application, is a convenient API for @@ -284,19 +257,19 @@ cc -o application .... -lpam -lpam_misc </para> <para> A poorly (or maliciously) written application can defeat any - <emphasis remap='B'>Linux-PAM</emphasis> module's authentication + <emphasis remap="B">Linux-PAM</emphasis> module's authentication mechanisms by simply ignoring it's return values. It is the applications task and responsibility to grant privileges and access - to services. The <emphasis remap='B'>Linux-PAM</emphasis> library + to services. The <emphasis remap="B">Linux-PAM</emphasis> library simply assumes the responsibility of <emphasis>authenticating</emphasis> the user; ascertaining that the user <emphasis>is</emphasis> who they say they are. Care should be taken to anticipate all of the documented - behavior of the <emphasis remap='B'>Linux-PAM</emphasis> library + behavior of the <emphasis remap="B">Linux-PAM</emphasis> library functions. A failure to do this will most certainly lead to a future security breach. </para> - <section id="adg-security-library-calls"> + <section xml:id="adg-security-library-calls"> <title>Care about standard library calls</title> <para> In general, writers of authorization-granting applications should @@ -308,9 +281,9 @@ cc -o application .... -lpam -lpam_misc function is likely to corrupt a pointer previously obtained by the application. The application programmer should either re-call such a 'libc' function after a call to the - <emphasis remap='B'>Linux-PAM</emphasis> library, or copy the + <emphasis remap="B">Linux-PAM</emphasis> library, or copy the structure contents to some safe area of memory before passing - control to the <emphasis remap='B'>Linux-PAM</emphasis> library. + control to the <emphasis remap="B">Linux-PAM</emphasis> library. </para> <para> Two important function classes that fall into this category are @@ -322,12 +295,12 @@ cc -o application .... -lpam -lpam_misc </para> </section> - <section id="adg-security-service-name"> + <section xml:id="adg-security-service-name"> <title>Choice of a service name</title> <para> When picking the <emphasis>service-name</emphasis> that corresponds to the first entry in the - <emphasis remap='B'>Linux-PAM</emphasis> configuration file, + <emphasis remap="B">Linux-PAM</emphasis> configuration file, the application programmer should <emphasis>avoid</emphasis> the temptation of choosing something related to <varname>argv[0]</varname>. It is a trivial matter for any user @@ -352,11 +325,11 @@ cc -o application .... -lpam -lpam_misc and then run <command>./preferred_name</command>. </para> <para> - By studying the <emphasis remap='B'>Linux-PAM</emphasis> + By studying the <emphasis remap="B">Linux-PAM</emphasis> configuration file(s), an attacker can choose the <command>preferred_name</command> to be that of a service enjoying minimal protection; for example a game which uses - <emphasis remap='B'>Linux-PAM</emphasis> to restrict access to + <emphasis remap="B">Linux-PAM</emphasis> to restrict access to certain hours of the day. If the service-name were to be linked to the filename under which the service was invoked, it is clear that the user is effectively in the position of @@ -370,7 +343,7 @@ cc -o application .... -lpam -lpam_misc </para> </section> - <section id="adg-security-conv-function"> + <section xml:id="adg-security-conv-function"> <title>The conversation function</title> <para> Care should be taken to ensure that the <function>conv()</function> @@ -380,10 +353,10 @@ cc -o application .... -lpam -lpam_misc </para> </section> - <section id="adg-security-user-identity"> + <section xml:id="adg-security-user-identity"> <title>The identity of the user</title> <para> - The <emphasis remap='B'>Linux-PAM</emphasis> modules will need + The <emphasis remap="B">Linux-PAM</emphasis> modules will need to determine the identity of the user who requests a service, and the identity of the user who grants the service. These two users will seldom be the same. Indeed there is generally a third @@ -444,7 +417,7 @@ cc -o application .... -lpam -lpam_misc </para> </section> - <section id="adg-security-resources"> + <section xml:id="adg-security-resources"> <title>Sufficient resources</title> <para> Care should be taken to ensure that the proper execution of an @@ -465,7 +438,7 @@ cc -o application .... -lpam -lpam_misc </section> </chapter> - <chapter id='adg-libpam_misc'> + <chapter xml:id="adg-libpam_misc"> <title>A library of miscellaneous helper functions</title> <para> To aid the work of the application developer a library of @@ -479,24 +452,20 @@ cc -o application .... -lpam -lpam_misc library can be defined by including <function><security/pam_misc.h></function>. It should be noted that this library is specific to - <emphasis remap='B'>Linux-PAM</emphasis> and is not referred to in + <emphasis remap="B">Linux-PAM</emphasis> and is not referred to in the defining DCE-RFC (see <link linkend="adg-see-also">See also</link>) below. </para> - <section id='adg-libpam-functions'> + <section xml:id="adg-libpam-functions"> <title>Functions supplied</title> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_misc_conv.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_misc_paste_env.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_misc_drop_env.xml"/> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="pam_misc_setenv.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_misc_conv.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_misc_paste_env.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_misc_drop_env.xml"/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pam_misc_setenv.xml"/> </section> </chapter> - <chapter id='adg-porting'> + <chapter xml:id="adg-porting"> <title>Porting legacy applications</title> <para> The point of PAM is that the application is not supposed to @@ -545,7 +514,7 @@ cc -o application .... -lpam -lpam_misc </para> </chapter> - <chapter id='adg-glossary'> + <chapter xml:id="adg-glossary"> <title>Glossary of PAM related terms</title> <para> The following are a list of terms used within this document. @@ -585,17 +554,17 @@ cc -o application .... -lpam -lpam_misc </variablelist> </chapter> - <chapter id='adg-example'> + <chapter xml:id="adg-example"> <title>An example application</title> <para> - To get a flavor of the way a <emphasis remap='B'>Linux-PAM</emphasis> + To get a flavor of the way a <emphasis remap="B">Linux-PAM</emphasis> application is written we include the following example. It prompts the user for their password and indicates whether their account is valid on the standard output, its return code also indicates the success (<returnvalue>0</returnvalue> for success; <returnvalue>1</returnvalue> for failure). </para> - <programlisting><![CDATA[ + <programlisting> /* This program was contributed by Shane Watts [modifications by AGM and kukuk] @@ -607,9 +576,9 @@ cc -o application .... -lpam -lpam_misc account required pam_unix.so */ -#include <security/pam_appl.h> -#include <security/pam_misc.h> -#include <stdio.h> +#include <security/pam_appl.h> +#include <security/pam_misc.h> +#include <stdio.h> static struct pam_conv conv = { misc_conv, @@ -626,12 +595,12 @@ int main(int argc, char *argv[]) user = argv[1]; } - if(argc > 2) { + if(argc > 2) { fprintf(stderr, "Usage: check_user [username]\n"); exit(1); } - retval = pam_start("check_user", user, &conv, &pamh); + retval = pam_start("check_user", user, &conv, &pamh); if (retval == PAM_SUCCESS) retval = pam_authenticate(pamh, 0); /* is user really user? */ @@ -655,24 +624,24 @@ int main(int argc, char *argv[]) return ( retval == PAM_SUCCESS ? 0:1 ); /* indicate success */ } -]]> + </programlisting> </chapter> - <chapter id='adg-files'> + <chapter xml:id="adg-files"> <title>Files</title> <variablelist> <varlistentry> - <term><filename>/usr/include/security/pam_appl.h</filename></term> + <term>/usr/include/security/pam_appl.h</term> <listitem> <para> Header file with interfaces for - <emphasis remap='B'>Linux-PAM</emphasis> applications. + <emphasis remap="B">Linux-PAM</emphasis> applications. </para> </listitem> </varlistentry> <varlistentry> - <term><filename>/usr/include/security/pam_misc.h</filename></term> + <term>/usr/include/security/pam_misc.h</term> <listitem> <para> Header file for useful library functions for making @@ -683,7 +652,7 @@ int main(int argc, char *argv[]) </variablelist> </chapter> - <chapter id="adg-see-also"> + <chapter xml:id="adg-see-also"> <title>See also</title> <itemizedlist> <listitem> @@ -706,7 +675,7 @@ int main(int argc, char *argv[]) </itemizedlist> </chapter> - <chapter id='adg-author'> + <chapter xml:id="adg-author"> <title>Author/acknowledgments</title> <para> This document was written by Andrew G. Morgan (morgan@kernel.org) @@ -726,14 +695,14 @@ int main(int argc, char *argv[]) <para> Thanks are also due to Sun Microsystems, especially to Vipin Samar and Charlie Lai for their advice. At an early stage in the development of - <emphasis remap='B'>Linux-PAM</emphasis>, Sun graciously made the + <emphasis remap="B">Linux-PAM</emphasis>, Sun graciously made the documentation for their implementation of PAM available. This act greatly accelerated the development of - <emphasis remap='B'>Linux-PAM</emphasis>. + <emphasis remap="B">Linux-PAM</emphasis>. </para> </chapter> - <chapter id='adg-copyright'> + <chapter xml:id="adg-copyright"> <title>Copyright information for this document</title> <programlisting> Copyright (c) 2006 Thorsten Kukuk <kukuk@thkukuk.de> @@ -777,4 +746,4 @@ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH </programlisting> </chapter> -</book> +</book>
\ No newline at end of file diff --git a/doc/adg/Makefile.am b/doc/adg/Makefile.am index b795b1a4..77abdb71 100644 --- a/doc/adg/Makefile.am +++ b/doc/adg/Makefile.am @@ -16,7 +16,7 @@ all: Linux-PAM_ADG.txt html/Linux-PAM_ADG.html Linux-PAM_ADG.pdf Linux-PAM_ADG.pdf: $(XMLS) $(DEP_XMLS) if ENABLE_GENERATE_PDF - $(XMLLINT) --nonet --xinclude --postvalid --noent --noout $< + $(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noent --noout $< $(XSLTPROC) --stringparam generate.toc "book toc" \ --stringparam section.autolabel 1 \ --stringparam section.label.includes.component.label 1 \ @@ -28,7 +28,7 @@ else endif Linux-PAM_ADG.txt: $(XMLS) $(DEP_XMLS) - $(XMLLINT) --nonet --xinclude --postvalid --noent --noout $< + $(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noent --noout $< $(XSLTPROC) --stringparam generate.toc "book toc" \ --stringparam section.autolabel 1 \ --stringparam section.label.includes.component.label 1 \ @@ -37,7 +37,7 @@ Linux-PAM_ADG.txt: $(XMLS) $(DEP_XMLS) html/Linux-PAM_ADG.html: $(XMLS) $(DEP_XMLS) @test -d html || mkdir -p html - $(XMLLINT) --nonet --xinclude --postvalid --noent --noout $< + $(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noent --noout $< $(XSLTPROC) --stringparam base.dir html/ \ --stringparam root.filename Linux-PAM_ADG \ --stringparam use.id.as.filename 1 \ diff --git a/doc/adg/pam_acct_mgmt.xml b/doc/adg/pam_acct_mgmt.xml index 6a3a37d2..afcf2f2f 100644 --- a/doc/adg/pam_acct_mgmt.xml +++ b/doc/adg/pam_acct_mgmt.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_acct_mgmt'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_acct_mgmt"> <title>Account validation management</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_acct_mgmt-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(id("pam_acct_mgmt-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_acct_mgmt-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(//refsect1[@id = "pam_acct_mgmt-description"]/*)'/> + <section xml:id="adg-pam_acct_mgmt-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(id("pam_acct_mgmt-description")/*)'/> </section> - <section id='adg-pam_acct_mgmt-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(//refsect1[@id = "pam_acct_mgmt-return_values"]/*)'/> + <section xml:id="adg-pam_acct_mgmt-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_acct_mgmt.3.xml" xpointer='xpointer(id("pam_acct_mgmt-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_authenticate.xml b/doc/adg/pam_authenticate.xml index 2ca9b540..aa36c687 100644 --- a/doc/adg/pam_authenticate.xml +++ b/doc/adg/pam_authenticate.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_authenticate'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_authenticate"> <title>Authenticating the user</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_authenticate.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_authenticate-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_authenticate.3.xml" xpointer='xpointer(id("pam_authenticate-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_authenticate-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_authenticate.3.xml" xpointer='xpointer(//refsect1[@id = "pam_authenticate-description"]/*)'/> + <section xml:id="adg-pam_authenticate-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_authenticate.3.xml" xpointer='xpointer(id("pam_authenticate-description")/*)'/> </section> - <section id='adg-pam_authenticate-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_authenticate.3.xml" xpointer='xpointer(//refsect1[@id = "pam_authenticate-return_values"]/*)'/> + <section xml:id="adg-pam_authenticate-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_authenticate.3.xml" xpointer='xpointer(id("pam_authenticate-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_chauthtok.xml b/doc/adg/pam_chauthtok.xml index 1c613da7..e6815dde 100644 --- a/doc/adg/pam_chauthtok.xml +++ b/doc/adg/pam_chauthtok.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_chauthtok'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_chauthtok"> <title>Updating authentication tokens</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_chauthtok.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_chauthtok-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_chauthtok.3.xml" xpointer='xpointer(id("pam_chauthtok-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_chauthtok-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_chauthtok.3.xml" xpointer='xpointer(//refsect1[@id = "pam_chauthtok-description"]/*)'/> + <section xml:id="adg-pam_chauthtok-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_chauthtok.3.xml" xpointer='xpointer(id("pam_chauthtok-description")/*)'/> </section> - <section id='adg-pam_chauthtok-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_chauthtok.3.xml" xpointer='xpointer(//refsect1[@id = "pam_chauthtok-return_values"]/*)'/> + <section xml:id="adg-pam_chauthtok-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_chauthtok.3.xml" xpointer='xpointer(id("pam_chauthtok-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_close_session.xml b/doc/adg/pam_close_session.xml index 4b93fc3a..ed83d7a1 100644 --- a/doc/adg/pam_close_session.xml +++ b/doc/adg/pam_close_session.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_close_session'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_close_session"> <title>terminating PAM session management</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_close_session.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_close_session-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_close_session.3.xml" xpointer='xpointer(id("pam_close_session-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_close_session-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_close_session.3.xml" xpointer='xpointer(//refsect1[@id = "pam_close_session-description"]/*)'/> + <section xml:id="adg-pam_close_session-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_close_session.3.xml" xpointer='xpointer(id("pam_close_session-description")/*)'/> </section> - <section id='adg-pam_close_session-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_close_session.3.xml" xpointer='xpointer(//refsect1[@id = "pam_close_session-return_values"]/*)'/> + <section xml:id="adg-pam_close_session-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_close_session.3.xml" xpointer='xpointer(id("pam_close_session-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_conv.xml b/doc/adg/pam_conv.xml index 01b75127..b2ba876e 100644 --- a/doc/adg/pam_conv.xml +++ b/doc/adg/pam_conv.xml @@ -1,11 +1,7 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_conv'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_conv"> <title>The conversation function</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_conv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_conv-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_conv.3.xml" xpointer='xpointer(id("pam_conv-synopsis")/*)'/> </funcsynopsis> <programlisting> struct pam_message { @@ -24,12 +20,10 @@ struct pam_conv { void *appdata_ptr; }; </programlisting> - <section id='adg-pam_conv-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_conv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_conv-description"]/*)'/> + <section xml:id="adg-pam_conv-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_conv.3.xml" xpointer='xpointer(id("pam_conv-description")/*)'/> </section> - <section id='adg-pam_conv-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_conv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_conv-return_values"]/*)'/> + <section xml:id="adg-pam_conv-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_conv.3.xml" xpointer='xpointer(id("pam_conv-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_end.xml b/doc/adg/pam_end.xml index efa328be..5e719255 100644 --- a/doc/adg/pam_end.xml +++ b/doc/adg/pam_end.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_end'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_end"> <title>Termination of PAM transaction</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_end.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_end-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_end.3.xml" xpointer='xpointer(id("pam_end-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_end-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_end.3.xml" xpointer='xpointer(//refsect1[@id = "pam_end-description"]/*)'/> + <section xml:id="adg-pam_end-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_end.3.xml" xpointer='xpointer(id("pam_end-description")/*)'/> </section> - <section id='adg-pam_end-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_end.3.xml" xpointer='xpointer(//refsect1[@id = "pam_end-return_values"]/*)'/> + <section xml:id="adg-pam_end-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_end.3.xml" xpointer='xpointer(id("pam_end-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_fail_delay.xml b/doc/adg/pam_fail_delay.xml index 589e1148..d602a1f7 100644 --- a/doc/adg/pam_fail_delay.xml +++ b/doc/adg/pam_fail_delay.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_fail_delay'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_fail_delay"> <title>Request a delay on failure</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_fail_delay.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_fail_delay-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_fail_delay.3.xml" xpointer='xpointer(id("pam_fail_delay-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_fail_delay-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_fail_delay.3.xml" xpointer='xpointer(//refsect1[@id = "pam_fail_delay-description"]/*)'/> + <section xml:id="adg-pam_fail_delay-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_fail_delay.3.xml" xpointer='xpointer(id("pam_fail_delay-description")/*)'/> </section> - <section id='adg-pam_fail_delay-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_fail_delay.3.xml" xpointer='xpointer(//refsect1[@id = "pam_fail_delay-return_values"]/*)'/> + <section xml:id="adg-pam_fail_delay-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_fail_delay.3.xml" xpointer='xpointer(id("pam_fail_delay-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_get_item.xml b/doc/adg/pam_get_item.xml index f23c734b..d12cb17d 100644 --- a/doc/adg/pam_get_item.xml +++ b/doc/adg/pam_get_item.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_get_item'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_get_item"> <title>Getting PAM items</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_get_item.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_get_item-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_get_item.3.xml" xpointer='xpointer(id("pam_get_item-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_get_item-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_get_item.3.xml" xpointer='xpointer(//refsect1[@id = "pam_get_item-description"]/*)'/> + <section xml:id="adg-pam_get_item-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_get_item.3.xml" xpointer='xpointer(id("pam_get_item-description")/*)'/> </section> - <section id='adg-pam_get_item-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_get_item.3.xml" xpointer='xpointer(//refsect1[@id = "pam_get_item-return_values"]/*)'/> + <section xml:id="adg-pam_get_item-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_get_item.3.xml" xpointer='xpointer(id("pam_get_item-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_getenv.xml b/doc/adg/pam_getenv.xml index 61d69c33..f7b483ed 100644 --- a/doc/adg/pam_getenv.xml +++ b/doc/adg/pam_getenv.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_getenv'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_getenv"> <title>Get a PAM environment variable</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_getenv-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenv.3.xml" xpointer='xpointer(id("pam_getenv-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_getenv-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_getenv-description"]/*)'/> + <section xml:id="adg-pam_getenv-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenv.3.xml" xpointer='xpointer(id("pam_getenv-description")/*)'/> </section> - <section id='adg-pam_getenv-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_getenv-return_values"]/*)'/> + <section xml:id="adg-pam_getenv-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenv.3.xml" xpointer='xpointer(id("pam_getenv-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_getenvlist.xml b/doc/adg/pam_getenvlist.xml index d3c2fcd3..4433c04d 100644 --- a/doc/adg/pam_getenvlist.xml +++ b/doc/adg/pam_getenvlist.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_getenvlist'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_getenvlist"> <title>Getting the PAM environment</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenvlist.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_getenvlist-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenvlist.3.xml" xpointer='xpointer(id("pam_getenvlist-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_getenvlist-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenvlist.3.xml" xpointer='xpointer(//refsect1[@id = "pam_getenvlist-description"]/*)'/> + <section xml:id="adg-pam_getenvlist-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenvlist.3.xml" xpointer='xpointer(id("pam_getenvlist-description")/*)'/> </section> - <section id='adg-pam_getenvlist-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_getenvlist.3.xml" xpointer='xpointer(//refsect1[@id = "pam_getenvlist-return_values"]/*)'/> + <section xml:id="adg-pam_getenvlist-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_getenvlist.3.xml" xpointer='xpointer(id("pam_getenvlist-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_misc_conv.xml b/doc/adg/pam_misc_conv.xml index 2dc760cc..4f54e11a 100644 --- a/doc/adg/pam_misc_conv.xml +++ b/doc/adg/pam_misc_conv.xml @@ -1,14 +1,9 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-misc_conv'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-misc_conv"> <title>Text based conversation function</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/misc_conv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "misc_conv-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/misc_conv.3.xml" xpointer='xpointer(id("misc_conv-synopsis")/*)'/> </funcsynopsis> - <section id='adg-misc_conv-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/misc_conv.3.xml" xpointer='xpointer(//refsect1[@id = "misc_conv-description"]/*)'/> + <section xml:id="adg-misc_conv-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/misc_conv.3.xml" xpointer='xpointer(id("misc_conv-description")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_misc_drop_env.xml b/doc/adg/pam_misc_drop_env.xml index 956d4815..cacb770e 100644 --- a/doc/adg/pam_misc_drop_env.xml +++ b/doc/adg/pam_misc_drop_env.xml @@ -1,14 +1,9 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_misc_drop_env'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_misc_drop_env"> <title>Liberating a locally saved environment</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_drop_env.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_misc_drop_env-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_drop_env.3.xml" xpointer='xpointer(id("pam_misc_drop_env-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_misc_drop_env-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_drop_env.3.xml" xpointer='xpointer(//refsect1[@id = "pam_misc_drop_env-description"]/*)'/> + <section xml:id="adg-pam_misc_drop_env-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_drop_env.3.xml" xpointer='xpointer(id("pam_misc_drop_env-description")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_misc_paste_env.xml b/doc/adg/pam_misc_paste_env.xml index c6d3856b..8ab2440a 100644 --- a/doc/adg/pam_misc_paste_env.xml +++ b/doc/adg/pam_misc_paste_env.xml @@ -1,14 +1,9 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_misc_paste_env'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_misc_paste_env"> <title>Transcribing an environment to that of PAM</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_paste_env.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_misc_paste_env-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_paste_env.3.xml" xpointer='xpointer(id("pam_misc_paste_env-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_misc_paste_env-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_paste_env.3.xml" xpointer='xpointer(//refsect1[@id = "pam_misc_paste_env-description"]/*)'/> + <section xml:id="adg-pam_misc_paste_env-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_paste_env.3.xml" xpointer='xpointer(id("pam_misc_paste_env-description")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_misc_setenv.xml b/doc/adg/pam_misc_setenv.xml index 3b1a32e4..7e8c489b 100644 --- a/doc/adg/pam_misc_setenv.xml +++ b/doc/adg/pam_misc_setenv.xml @@ -1,14 +1,9 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_misc_setenv'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_misc_setenv"> <title>BSD like PAM environment variable setting</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_setenv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_misc_setenv-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_setenv.3.xml" xpointer='xpointer(id("pam_misc_setenv-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_misc_setenv-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_misc_setenv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_misc_setenv-description"]/*)'/> + <section xml:id="adg-pam_misc_setenv-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_misc_setenv.3.xml" xpointer='xpointer(id("pam_misc_setenv-description")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_open_session.xml b/doc/adg/pam_open_session.xml index ba738a55..10afa755 100644 --- a/doc/adg/pam_open_session.xml +++ b/doc/adg/pam_open_session.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_open_session'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_open_session"> <title>Start PAM session management</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_open_session.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_open_session-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_open_session.3.xml" xpointer='xpointer(id("pam_open_session-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_open_session-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_open_session.3.xml" xpointer='xpointer(//refsect1[@id = "pam_open_session-description"]/*)'/> + <section xml:id="adg-pam_open_session-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_open_session.3.xml" xpointer='xpointer(id("pam_open_session-description")/*)'/> </section> - <section id='adg-pam_open_session-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_open_session.3.xml" xpointer='xpointer(//refsect1[@id = "pam_open_session-return_values"]/*)'/> + <section xml:id="adg-pam_open_session-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_open_session.3.xml" xpointer='xpointer(id("pam_open_session-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_putenv.xml b/doc/adg/pam_putenv.xml index e55f1a42..6378a15b 100644 --- a/doc/adg/pam_putenv.xml +++ b/doc/adg/pam_putenv.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_putenv'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_putenv"> <title>Set or change PAM environment variable</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_putenv.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_putenv-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_putenv.3.xml" xpointer='xpointer(id("pam_putenv-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_putenv-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_putenv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_putenv-description"]/*)'/> + <section xml:id="adg-pam_putenv-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_putenv.3.xml" xpointer='xpointer(id("pam_putenv-description")/*)'/> </section> - <section id='adg-pam_putenv-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_putenv.3.xml" xpointer='xpointer(//refsect1[@id = "pam_putenv-return_values"]/*)'/> + <section xml:id="adg-pam_putenv-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_putenv.3.xml" xpointer='xpointer(id("pam_putenv-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_set_item.xml b/doc/adg/pam_set_item.xml index 41169387..efc4292b 100644 --- a/doc/adg/pam_set_item.xml +++ b/doc/adg/pam_set_item.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_set_item'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_set_item"> <title>Setting PAM items</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_set_item.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_set_item-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_set_item.3.xml" xpointer='xpointer(id("pam_set_item-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_set_item-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_set_item.3.xml" xpointer='xpointer(//refsect1[@id = "pam_set_item-description"]/*)'/> + <section xml:id="adg-pam_set_item-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_set_item.3.xml" xpointer='xpointer(id("pam_set_item-description")/*)'/> </section> - <section id='adg-pam_set_item-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_set_item.3.xml" xpointer='xpointer(//refsect1[@id = "pam_set_item-return_values"]/*)'/> + <section xml:id="adg-pam_set_item-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_set_item.3.xml" xpointer='xpointer(id("pam_set_item-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_setcred.xml b/doc/adg/pam_setcred.xml index 1d3d23cd..488028cd 100644 --- a/doc/adg/pam_setcred.xml +++ b/doc/adg/pam_setcred.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_setcred'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_setcred"> <title>Setting user credentials</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_setcred.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_setcred-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_setcred.3.xml" xpointer='xpointer(id("pam_setcred-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_setcred-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_setcred.3.xml" xpointer='xpointer(//refsect1[@id = "pam_setcred-description"]/*)'/> + <section xml:id="adg-pam_setcred-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_setcred.3.xml" xpointer='xpointer(id("pam_setcred-description")/*)'/> </section> - <section id='adg-pam_setcred-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_setcred.3.xml" xpointer='xpointer(//refsect1[@id = "pam_setcred-return_values"]/*)'/> + <section xml:id="adg-pam_setcred-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_setcred.3.xml" xpointer='xpointer(id("pam_setcred-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_start.xml b/doc/adg/pam_start.xml index e5ec8481..c7ee4494 100644 --- a/doc/adg/pam_start.xml +++ b/doc/adg/pam_start.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_start'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_start"> <title>Initialization of PAM transaction</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_start.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_start-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_start.3.xml" xpointer='xpointer(id("pam_start-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_start-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_start.3.xml" xpointer='xpointer(//refsect1[@id = "pam_start-description"]/*)'/> + <section xml:id="adg-pam_start-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_start.3.xml" xpointer='xpointer(id("pam_start-description")/*)'/> </section> - <section id='adg-pam_start-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_start.3.xml" xpointer='xpointer(//refsect1[@id = "pam_start-return_values"]/*)'/> + <section xml:id="adg-pam_start-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_start.3.xml" xpointer='xpointer(id("pam_start-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file diff --git a/doc/adg/pam_strerror.xml b/doc/adg/pam_strerror.xml index 35b08a27..e4e1c56a 100644 --- a/doc/adg/pam_strerror.xml +++ b/doc/adg/pam_strerror.xml @@ -1,18 +1,12 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" - "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> -<section id='adg-pam_strerror'> +<section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="adg-pam_strerror"> <title>Strings describing PAM error codes</title> <funcsynopsis> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_strerror.3.xml" xpointer='xpointer(//funcsynopsis[@id = "pam_strerror-synopsis"]/*)'/> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_strerror.3.xml" xpointer='xpointer(id("pam_strerror-synopsis")/*)'/> </funcsynopsis> - <section id='adg-pam_strerror-description'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_strerror.3.xml" xpointer='xpointer(//refsect1[@id = "pam_strerror-description"]/*)'/> + <section xml:id="adg-pam_strerror-description"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_strerror.3.xml" xpointer='xpointer(id("pam_strerror-description")/*)'/> </section> - <section id='adg-pam_strerror-return_values'> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" - href="../man/pam_strerror.3.xml" xpointer='xpointer(//refsect1[@id = "pam_strerror-return_values"]/*)'/> + <section xml:id="adg-pam_strerror-return_values"> + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../man/pam_strerror.3.xml" xpointer='xpointer(id("pam_strerror-return_values")/*)'/> </section> -</section> +</section>
\ No newline at end of file |