From 1814aec611a5f9e03eceee81237ad3a3f51c954a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 26 Oct 2011 23:56:54 +0000 Subject: 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 --- doc/man/pam_chauthtok.3.xml | 2 +- doc/man/pam_get_user.3.xml | 8 ++++---- doc/man/pam_set_data.3.xml | 2 +- doc/man/pam_sm_authenticate.3.xml | 4 ++-- doc/man/pam_xauth_data.3.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/man') 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 pamh). - The pamh argument is an authentication + The pamh 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 pam_start3 - . If no user was specified it what + . If no user was specified it what pam_get_item (pamh, PAM_USER, ... ); would have returned. If this is NULL it obtains the username via the @@ -70,14 +70,14 @@ By whatever means the username is obtained, a pointer to it is - returned as the contents of *user. Note, - this memory should not be + returned as the contents of *user. Note, + this memory should not be free()'d or modified by the module. This function sets the PAM_USER item - associated with the + associated with the pam_set_item3 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 @@ DESCRIPTION The pam_set_data function associates a pointer - to an object with the (hopefully) unique string + to an object with the (hopefully) unique string module_data_name in the PAM context specified by the pamh argument. 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 PAM_AUTH_ERR if the database of authentication tokens for this authentication mechanism has a NULL entry for the user. - Without this flag, such a NULL token + Without this flag, such a NULL token will lead to a success without the user being prompted. @@ -95,7 +95,7 @@ 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. 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 { DESCRIPTION The pam_xauth_data 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 -- cgit v1.2.3 From c9c4faaf50c66d5e4d1b9d6c450c206c12f09f8a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 27 Oct 2011 14:55:55 +0000 Subject: Rename all .cvsignore files to .gitignore --- doc/man/.cvsignore | 49 ------------------------------------------------- doc/man/.gitignore | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 doc/man/.cvsignore create mode 100644 doc/man/.gitignore (limited to 'doc/man') diff --git a/doc/man/.cvsignore b/doc/man/.cvsignore deleted file mode 100644 index 96fa9aba..00000000 --- a/doc/man/.cvsignore +++ /dev/null @@ -1,49 +0,0 @@ -Makefile -Makefile.in -*~ -misc_conv.3 -pam.3 -pam.8 -PAM.8 -pam_acct_mgmt.3 -pam_authenticate.3 -pam_chauthtok.3 -pam_close_session.3 -pam.conf.5 -pam_conv.3 -pam.d.5 -pam_end.3 -pam_error.3 -pam_fail_delay.3 -pam_get_data.3 -pam_getenv.3 -pam_getenvlist.3 -pam_get_authtok.3 -pam_get_authtok_verify.3 -pam_get_authtok_noverify.3 -pam_get_item.3 -pam_get_user.3 -pam_info.3 -pam_misc_drop_env.3 -pam_misc_paste_env.3 -pam_misc_setenv.3 -pam_open_session.3 -pam_prompt.3 -pam_putenv.3 -pam_setcred.3 -pam_set_data.3 -pam_set_item.3 -pam_sm_acct_mgmt.3 -pam_sm_authenticate.3 -pam_sm_chauthtok.3 -pam_sm_close_session.3 -pam_sm_open_session.3 -pam_sm_setcred.3 -pam_start.3 -pam_strerror.3 -pam_syslog.3 -pam_verror.3 -pam_vinfo.3 -pam_vprompt.3 -pam_vsyslog.3 -pam_xauth_data.3 diff --git a/doc/man/.gitignore b/doc/man/.gitignore new file mode 100644 index 00000000..96fa9aba --- /dev/null +++ b/doc/man/.gitignore @@ -0,0 +1,49 @@ +Makefile +Makefile.in +*~ +misc_conv.3 +pam.3 +pam.8 +PAM.8 +pam_acct_mgmt.3 +pam_authenticate.3 +pam_chauthtok.3 +pam_close_session.3 +pam.conf.5 +pam_conv.3 +pam.d.5 +pam_end.3 +pam_error.3 +pam_fail_delay.3 +pam_get_data.3 +pam_getenv.3 +pam_getenvlist.3 +pam_get_authtok.3 +pam_get_authtok_verify.3 +pam_get_authtok_noverify.3 +pam_get_item.3 +pam_get_user.3 +pam_info.3 +pam_misc_drop_env.3 +pam_misc_paste_env.3 +pam_misc_setenv.3 +pam_open_session.3 +pam_prompt.3 +pam_putenv.3 +pam_setcred.3 +pam_set_data.3 +pam_set_item.3 +pam_sm_acct_mgmt.3 +pam_sm_authenticate.3 +pam_sm_chauthtok.3 +pam_sm_close_session.3 +pam_sm_open_session.3 +pam_sm_setcred.3 +pam_start.3 +pam_strerror.3 +pam_syslog.3 +pam_verror.3 +pam_vinfo.3 +pam_vprompt.3 +pam_vsyslog.3 +pam_xauth_data.3 -- cgit v1.2.3 From 3e7fb3233efe776d867be9d34b4b6e83ec59df86 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 27 Oct 2011 14:55:55 +0000 Subject: Update .gitignore files * .gitignore: Add common ignore patterns. * m4/.gitignore: Unignore local m4 files. * dynamic/.gitignore: Unignore Makefile. * libpamc/test/modules/.gitignore: Likewise. * libpamc/test/regress/.gitignore: Likewise. * po/.gitignore: Add Makevars.template. * conf/.gitignore: Remove common ignore patterns. * conf/pam_conv1/.gitignore: Likewise. * doc/.gitignore: Likewise. * doc/specs/.gitignore: Likewise. * doc/specs/formatter/.gitignore: Likewise. * examples/.gitignore: Likewise. * modules/pam_filter/upperLOWER/.gitignore: Likewise. * modules/pam_mkhomedir/.gitignore: Likewise. * modules/pam_selinux/.gitignore: Likewise. * modules/pam_stress/.gitignore: Likewise. * modules/pam_tally/.gitignore: Likewise. * modules/pam_tally2/.gitignore: Likewise. * modules/pam_timestamp/.gitignore: Likewise. * modules/pam_unix/.gitignore: Likewise. * tests/.gitignore: Likewise. * xtests/.gitignore: Likewise. * doc/adg/.gitignore: Remove. * doc/man/.gitignore: Remove. * doc/mwg/.gitignore: Remove. * doc/sag/.gitignore: Remove. * libpamc/.gitignore: Remove. * libpamc/test/.gitignore: Remove. * libpam/.gitignore: Remove. * libpam_misc/.gitignore: Remove. * modules/.gitignore: Remove. * modules/pam_access/.gitignore: Remove. * modules/pam_cracklib/.gitignore: Remove. * modules/pam_debug/.gitignore: Remove. * modules/pam_deny/.gitignore: Remove. * modules/pam_echo/.gitignore: Remove. * modules/pam_env/.gitignore: Remove. * modules/pam_exec/.gitignore: Remove. * modules/pam_faildelay/.gitignore: Remove. * modules/pam_filter/.gitignore: Remove. * modules/pam_ftp/.gitignore: Remove. * modules/pam_group/.gitignore: Remove. * modules/pam_issue/.gitignore: Remove. * modules/pam_keyinit/.gitignore: Remove. * modules/pam_lastlog/.gitignore: Remove. * modules/pam_limits/.gitignore: Remove. * modules/pam_listfile/.gitignore: Remove. * modules/pam_localuser/.gitignore: Remove. * modules/pam_loginuid/.gitignore: Remove. * modules/pam_mail/.gitignore: Remove. * modules/pam_motd/.gitignore: Remove. * modules/pam_namespace/.gitignore: Remove. * modules/pam_nologin/.gitignore: Remove. * modules/pam_permit/.gitignore: Remove. * modules/pam_pwhistory/.gitignore: Remove. * modules/pam_rhosts/.gitignore: Remove. * modules/pam_rootok/.gitignore: Remove. * modules/pam_securetty/.gitignore: Remove. * modules/pam_sepermit/.gitignore: Remove. * modules/pam_shells/.gitignore: Remove. * modules/pam_succeed_if/.gitignore: Remove. * modules/pam_time/.gitignore: Remove. * modules/pam_tty_audit/.gitignore: Remove. * modules/pam_umask/.gitignore: Remove. * modules/pam_userdb/.gitignore: Remove. * modules/pam_warn/.gitignore: Remove. * modules/pam_wheel/.gitignore: Remove. * modules/pam_xauth/.gitignore: Remove. --- doc/man/.gitignore | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 doc/man/.gitignore (limited to 'doc/man') diff --git a/doc/man/.gitignore b/doc/man/.gitignore deleted file mode 100644 index 96fa9aba..00000000 --- a/doc/man/.gitignore +++ /dev/null @@ -1,49 +0,0 @@ -Makefile -Makefile.in -*~ -misc_conv.3 -pam.3 -pam.8 -PAM.8 -pam_acct_mgmt.3 -pam_authenticate.3 -pam_chauthtok.3 -pam_close_session.3 -pam.conf.5 -pam_conv.3 -pam.d.5 -pam_end.3 -pam_error.3 -pam_fail_delay.3 -pam_get_data.3 -pam_getenv.3 -pam_getenvlist.3 -pam_get_authtok.3 -pam_get_authtok_verify.3 -pam_get_authtok_noverify.3 -pam_get_item.3 -pam_get_user.3 -pam_info.3 -pam_misc_drop_env.3 -pam_misc_paste_env.3 -pam_misc_setenv.3 -pam_open_session.3 -pam_prompt.3 -pam_putenv.3 -pam_setcred.3 -pam_set_data.3 -pam_set_item.3 -pam_sm_acct_mgmt.3 -pam_sm_authenticate.3 -pam_sm_chauthtok.3 -pam_sm_close_session.3 -pam_sm_open_session.3 -pam_sm_setcred.3 -pam_start.3 -pam_strerror.3 -pam_syslog.3 -pam_verror.3 -pam_vinfo.3 -pam_vprompt.3 -pam_vsyslog.3 -pam_xauth_data.3 -- cgit v1.2.3 From 405d66163397b60eb0bc7aa304e6f13fda7108ef Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 28 Aug 2013 11:00:49 +0200 Subject: misc_conv.3: Fix documentation of misc_conv doc/man/misc_conv.3.xml: Fix return value of misc_conv --- doc/man/misc_conv.3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/man') diff --git a/doc/man/misc_conv.3.xml b/doc/man/misc_conv.3.xml index 825dd10c..041f4eb0 100644 --- a/doc/man/misc_conv.3.xml +++ b/doc/man/misc_conv.3.xml @@ -21,7 +21,7 @@ #include <security/pam_misc.h> - void misc_conv + int misc_conv int num_msg const struct pam_message **msgm struct pam_response **response -- cgit v1.2.3