diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2011-10-26 23:56:54 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2011-10-26 23:56:54 +0000 |
commit | 1814aec611a5f9e03eceee81237ad3a3f51c954a (patch) | |
tree | 9f0ab1c38d5fbdd5f8ed8f792bf5649bcd50a416 /doc | |
parent | fc772e7236a7aea9c9c26b0be2ee6f3ed8ae444a (diff) | |
download | pam-1814aec611a5f9e03eceee81237ad3a3f51c954a.tar.gz pam-1814aec611a5f9e03eceee81237ad3a3f51c954a.tar.bz2 pam-1814aec611a5f9e03eceee81237ad3a3f51c954a.zip |
Fix whitespace issues
Cleanup trailing whitespaces, indentation that uses spaces before tabs,
and blank lines at EOF. Make the project free of warnings reported by
git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 1 | ||||
-rw-r--r-- | doc/man/pam_chauthtok.3.xml | 2 | ||||
-rw-r--r-- | doc/man/pam_get_user.3.xml | 8 | ||||
-rw-r--r-- | doc/man/pam_set_data.3.xml | 2 | ||||
-rw-r--r-- | doc/man/pam_sm_authenticate.3.xml | 4 | ||||
-rw-r--r-- | doc/man/pam_xauth_data.3.xml | 2 | ||||
-rw-r--r-- | doc/specs/.cvsignore | 1 | ||||
-rw-r--r-- | doc/specs/draft-morgan-pam.raw | 6 | ||||
-rw-r--r-- | doc/specs/parse_y.y | 8 | ||||
-rw-r--r-- | doc/specs/rfc86.0.txt | 6 |
10 files changed, 16 insertions, 24 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 4a300e15..f4762f2d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -19,4 +19,3 @@ releasedocs: all make -C sag releasedocs make -C adg releasedocs make -C mwg releasedocs - diff --git a/doc/man/pam_chauthtok.3.xml b/doc/man/pam_chauthtok.3.xml index 7e20070b..b9922a6c 100644 --- a/doc/man/pam_chauthtok.3.xml +++ b/doc/man/pam_chauthtok.3.xml @@ -35,7 +35,7 @@ associated with the handle <emphasis>pamh</emphasis>). </para> <para> - The <emphasis>pamh</emphasis> argument is an authentication + The <emphasis>pamh</emphasis> argument is an authentication handle obtained by a prior call to pam_start(). The flags argument is the binary or of zero or more of the following values: diff --git a/doc/man/pam_get_user.3.xml b/doc/man/pam_get_user.3.xml index ff8be694..9c5830e9 100644 --- a/doc/man/pam_get_user.3.xml +++ b/doc/man/pam_get_user.3.xml @@ -42,7 +42,7 @@ name of the user specified by <citerefentry> <refentrytitle>pam_start</refentrytitle><manvolnum>3</manvolnum> - </citerefentry>. If no user was specified it what + </citerefentry>. If no user was specified it what <function>pam_get_item (pamh, PAM_USER, ... );</function> would have returned. If this is NULL it obtains the username via the <citerefentry> @@ -70,14 +70,14 @@ </itemizedlist> <para> By whatever means the username is obtained, a pointer to it is - returned as the contents of <emphasis>*user</emphasis>. Note, - this memory should <emphasis remap="B">not</emphasis> be + returned as the contents of <emphasis>*user</emphasis>. Note, + this memory should <emphasis remap="B">not</emphasis> be <emphasis>free()</emphasis>'d or <emphasis>modified</emphasis> by the module. </para> <para> This function sets the <emphasis>PAM_USER</emphasis> item - associated with the + associated with the <citerefentry> <refentrytitle>pam_set_item</refentrytitle><manvolnum>3</manvolnum> </citerefentry> and diff --git a/doc/man/pam_set_data.3.xml b/doc/man/pam_set_data.3.xml index d6d224e7..c20068c6 100644 --- a/doc/man/pam_set_data.3.xml +++ b/doc/man/pam_set_data.3.xml @@ -40,7 +40,7 @@ <title>DESCRIPTION</title> <para> The <function>pam_set_data</function> function associates a pointer - to an object with the (hopefully) unique string + to an object with the (hopefully) unique string <emphasis>module_data_name</emphasis> in the PAM context specified by the <emphasis>pamh</emphasis> argument. </para> diff --git a/doc/man/pam_sm_authenticate.3.xml b/doc/man/pam_sm_authenticate.3.xml index 37c77576..9121aed2 100644 --- a/doc/man/pam_sm_authenticate.3.xml +++ b/doc/man/pam_sm_authenticate.3.xml @@ -62,7 +62,7 @@ Return <emphasis remap='B'>PAM_AUTH_ERR</emphasis> if the database of authentication tokens for this authentication mechanism has a <emphasis>NULL</emphasis> entry for the user. - Without this flag, such a <emphasis>NULL</emphasis> token + Without this flag, such a <emphasis>NULL</emphasis> token will lead to a success without the user being prompted. </para> </listitem> @@ -95,7 +95,7 @@ <listitem> <para> The modules were not able to access the authentication - information. This might be due to a network or hardware + information. This might be due to a network or hardware failure etc. </para> </listitem> diff --git a/doc/man/pam_xauth_data.3.xml b/doc/man/pam_xauth_data.3.xml index 0cd6730b..505985e4 100644 --- a/doc/man/pam_xauth_data.3.xml +++ b/doc/man/pam_xauth_data.3.xml @@ -35,7 +35,7 @@ struct pam_xauth_data { <title>DESCRIPTION</title> <para> The <function>pam_xauth_data</function> structure contains X - authentication data used to make a connection to an X display. + authentication data used to make a connection to an X display. Using this mechanism, an application can communicate X authentication data to PAM service modules. This allows modules to make a connection to the user's X display in order to label the diff --git a/doc/specs/.cvsignore b/doc/specs/.cvsignore index 0e7cbe2f..efaf18a0 100644 --- a/doc/specs/.cvsignore +++ b/doc/specs/.cvsignore @@ -9,4 +9,3 @@ padout parse_l.c parse_y.c parse_y.h - diff --git a/doc/specs/draft-morgan-pam.raw b/doc/specs/draft-morgan-pam.raw index 45109f45..ec5bba49 100644 --- a/doc/specs/draft-morgan-pam.raw +++ b/doc/specs/draft-morgan-pam.raw @@ -227,7 +227,7 @@ o Anyone can define additional agents by using names in the format your agent has as an identifier, they you are entitled to use this identifier.) It is up to each domain how it manages its local namespace. - + The '/' character is a mandatory delimiter, indicating the end of the agent_id. The trailing data is of a format specific to the agent with the given agent_id. @@ -377,7 +377,7 @@ conversation function with which it encapsulates module-generated requests and exchanges them with the client. Every message sent by a module should be acknowledged. -General conversation functions can support the following five +General conversation functions can support the following five conversation requests: echo text string @@ -617,7 +617,7 @@ Following a call to pamc_end, the pamc_handle_t will be invalid. The return value for this function is one of the following: - PAM_BPC_TRUE - all invoked agents are content with + PAM_BPC_TRUE - all invoked agents are content with authentication (the server is _not_ judged _un_trustworthy by any agent) diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y index 87fc54ea..b195f5d3 100644 --- a/doc/specs/parse_y.y +++ b/doc/specs/parse_y.y @@ -7,7 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> - + #define MAXLINE 1000 #define INDENT_STRING " " #define PAPER_WIDTH 74 @@ -86,7 +86,7 @@ doc: printf("%s%s%s", $2, fixed, $4); free($2); free($4); - + l = (len+1)/2; memset(fixed, ' ', l); fixed[l] = '\0'; @@ -113,7 +113,7 @@ doc: printf("%s%s%s", $2, fixed, $4); free($2); free($4); - + l = (len+1)/2; memset(fixed, ' ', l); fixed[l] = '\0'; @@ -281,7 +281,7 @@ char *new_counter(const char *key) sprintf(new+j, "%d", ++i); counter_root = set_key(counter_root, key, new); - + if (last_label) { free(last_label); } diff --git a/doc/specs/rfc86.0.txt b/doc/specs/rfc86.0.txt index 6dd5e6ea..b8c635a6 100644 --- a/doc/specs/rfc86.0.txt +++ b/doc/specs/rfc86.0.txt @@ -1843,9 +1843,3 @@ Samar, Schemers Page 28 - - - - - - |