aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/Makefile.in2
-rw-r--r--doc/man/Makefile.am2
-rw-r--r--doc/man/Makefile.in2
-rw-r--r--doc/man/openpam.34
-rw-r--r--doc/man/openpam.man2
-rw-r--r--doc/man/openpam_borrow_cred.36
-rw-r--r--doc/man/openpam_free_data.34
-rw-r--r--doc/man/openpam_free_envlist.34
-rw-r--r--doc/man/openpam_get_feature.310
-rw-r--r--doc/man/openpam_get_option.34
-rw-r--r--doc/man/openpam_log.34
-rw-r--r--doc/man/openpam_nullconv.36
-rw-r--r--doc/man/openpam_readline.34
-rw-r--r--doc/man/openpam_readlinev.34
-rw-r--r--doc/man/openpam_readword.34
-rw-r--r--doc/man/openpam_restore_cred.36
-rw-r--r--doc/man/openpam_set_feature.310
-rw-r--r--doc/man/openpam_set_option.36
-rw-r--r--doc/man/openpam_straddch.34
-rw-r--r--doc/man/openpam_subst.38
-rw-r--r--doc/man/openpam_ttyconv.36
-rw-r--r--doc/man/pam.312
-rw-r--r--doc/man/pam.conf.56
-rw-r--r--doc/man/pam.man2
-rw-r--r--doc/man/pam_acct_mgmt.36
-rw-r--r--doc/man/pam_authenticate.312
-rw-r--r--doc/man/pam_chauthtok.312
-rw-r--r--doc/man/pam_close_session.312
-rw-r--r--doc/man/pam_conv.36
-rw-r--r--doc/man/pam_end.312
-rw-r--r--doc/man/pam_error.36
-rw-r--r--doc/man/pam_get_authtok.310
-rw-r--r--doc/man/pam_get_data.36
-rw-r--r--doc/man/pam_get_item.310
-rw-r--r--doc/man/pam_get_user.38
-rw-r--r--doc/man/pam_getenv.34
-rw-r--r--doc/man/pam_getenvlist.34
-rw-r--r--doc/man/pam_info.36
-rw-r--r--doc/man/pam_open_session.312
-rw-r--r--doc/man/pam_prompt.36
-rw-r--r--doc/man/pam_putenv.36
-rw-r--r--doc/man/pam_set_data.36
-rw-r--r--doc/man/pam_set_item.312
-rw-r--r--doc/man/pam_setcred.312
-rw-r--r--doc/man/pam_setenv.36
-rw-r--r--doc/man/pam_sm_acct_mgmt.36
-rw-r--r--doc/man/pam_sm_authenticate.36
-rw-r--r--doc/man/pam_sm_chauthtok.36
-rw-r--r--doc/man/pam_sm_close_session.36
-rw-r--r--doc/man/pam_sm_open_session.36
-rw-r--r--doc/man/pam_sm_setcred.36
-rw-r--r--doc/man/pam_start.38
-rw-r--r--doc/man/pam_strerror.34
-rw-r--r--doc/man/pam_verror.36
-rw-r--r--doc/man/pam_vinfo.36
-rw-r--r--doc/man/pam_vprompt.36
57 files changed, 228 insertions, 136 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index cb9f04a1f6fe..62b1f3518d44 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,3 @@
-# $Id: Makefile.am 648 2013-03-05 17:54:27Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
SUBDIRS = man
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 21da50599f8e..5a310ff1d982 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 648 2013-03-05 17:54:27Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index b1a8133f0c35..a5431bcd1979 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 907 2017-01-18 09:39:01Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
NULL =
diff --git a/doc/man/Makefile.in b/doc/man/Makefile.in
index 797058bad7aa..14c1db300436 100644
--- a/doc/man/Makefile.in
+++ b/doc/man/Makefile.in
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 907 2017-01-18 09:39:01Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
diff --git a/doc/man/openpam.3 b/doc/man/openpam.3
index 78ec8db0aafe..4c39ffe3483f 100644
--- a/doc/man/openpam.3
+++ b/doc/man/openpam.3
@@ -1,5 +1,5 @@
.\" Generated by gendoc.pl
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt OPENPAM 3
.Os
.Sh NAME
@@ -81,7 +81,7 @@
.Ft "int"
.Fn pam_vprompt "const pam_handle_t *pamh" "int style" "char **resp" "const char *fmt" "va_list ap"
.\"
-.\" $Id: openpam.man 648 2013-03-05 17:54:27Z des $
+.\" $OpenPAM: openpam.man 938 2017-04-30 21:34:42Z des $
.\"
.Sh DESCRIPTION
These functions are OpenPAM extensions to the PAM API.
diff --git a/doc/man/openpam.man b/doc/man/openpam.man
index a7dd7f0a9ff8..251d41a97422 100644
--- a/doc/man/openpam.man
+++ b/doc/man/openpam.man
@@ -1,5 +1,5 @@
.\"
-.\" $Id: openpam.man 648 2013-03-05 17:54:27Z des $
+.\" $OpenPAM: openpam.man 938 2017-04-30 21:34:42Z des $
.\"
.Sh DESCRIPTION
These functions are OpenPAM extensions to the PAM API.
diff --git a/doc/man/openpam_borrow_cred.3 b/doc/man/openpam_borrow_cred.3
index bf25a475fbd6..687ad425ed6f 100644
--- a/doc/man/openpam_borrow_cred.3
+++ b/doc/man/openpam_borrow_cred.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_borrow_cred.c by gendoc.pl
-.\" $Id: openpam_borrow_cred.c 649 2013-03-05 17:58:33Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_borrow_cred.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_BORROW_CRED 3
.Os
.Sh NAME
@@ -29,6 +29,8 @@ The
.Fn openpam_borrow_cred
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_PERM_DENIED
diff --git a/doc/man/openpam_free_data.3 b/doc/man/openpam_free_data.3
index ca2fe51dfd92..a804c2a51579 100644
--- a/doc/man/openpam_free_data.3
+++ b/doc/man/openpam_free_data.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_free_data.c by gendoc.pl
-.\" $Id: openpam_free_data.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_free_data.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_FREE_DATA 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_free_envlist.3 b/doc/man/openpam_free_envlist.3
index f8ed6f08e2c3..d069ba00407f 100644
--- a/doc/man/openpam_free_envlist.3
+++ b/doc/man/openpam_free_envlist.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_free_envlist.c by gendoc.pl
-.\" $Id: openpam_free_envlist.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_free_envlist.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_FREE_ENVLIST 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_get_feature.3 b/doc/man/openpam_get_feature.3
index 45b6bcc91d69..daf49a4b63d1 100644
--- a/doc/man/openpam_get_feature.3
+++ b/doc/man/openpam_get_feature.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_get_feature.c by gendoc.pl
-.\" $Id: openpam_get_feature.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_get_feature.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_GET_FEATURE 3
.Os
.Sh NAME
@@ -50,8 +50,10 @@ The
.Fn openpam_get_feature
function returns one of the following values:
.Bl -tag -width 18n
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_FEATURE
+Unrecognized or restricted feature.
.El
.Sh SEE ALSO
.Xr openpam_set_feature 3 ,
diff --git a/doc/man/openpam_get_option.3 b/doc/man/openpam_get_option.3
index fcfd9b83dd00..bdf73db9709c 100644
--- a/doc/man/openpam_get_option.3
+++ b/doc/man/openpam_get_option.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_get_option.c by gendoc.pl
-.\" $Id: openpam_get_option.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_get_option.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_GET_OPTION 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_log.3 b/doc/man/openpam_log.3
index 0930abb17ccb..a761547fc434 100644
--- a/doc/man/openpam_log.3
+++ b/doc/man/openpam_log.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_log.c by gendoc.pl
-.\" $Id: openpam_log.c 686 2013-07-11 16:36:02Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_log.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_LOG 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_nullconv.3 b/doc/man/openpam_nullconv.3
index 0ce1e44edead..7a8139ebe0ec 100644
--- a/doc/man/openpam_nullconv.3
+++ b/doc/man/openpam_nullconv.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_nullconv.c by gendoc.pl
-.\" $Id: openpam_nullconv.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_nullconv.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_NULLCONV 3
.Os
.Sh NAME
@@ -38,6 +38,8 @@ The
.Fn openpam_nullconv
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_CONV_ERR
Conversation failure.
.El
diff --git a/doc/man/openpam_readline.3 b/doc/man/openpam_readline.3
index db888ad97cfb..e33167d82e66 100644
--- a/doc/man/openpam_readline.3
+++ b/doc/man/openpam_readline.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_readline.c by gendoc.pl
-.\" $Id: openpam_readline.c 703 2013-08-16 11:57:54Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_readline.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_READLINE 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_readlinev.3 b/doc/man/openpam_readlinev.3
index 9fb28e18cdee..6391ff50b417 100644
--- a/doc/man/openpam_readlinev.3
+++ b/doc/man/openpam_readlinev.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_readlinev.c by gendoc.pl
-.\" $Id: openpam_readlinev.c 890 2016-01-11 16:22:09Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_readlinev.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_READLINEV 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_readword.3 b/doc/man/openpam_readword.3
index 8bb0f492d799..e7c8b0f9224b 100644
--- a/doc/man/openpam_readword.3
+++ b/doc/man/openpam_readword.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_readword.c by gendoc.pl
-.\" $Id: openpam_readword.c 916 2017-02-07 12:25:58Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_readword.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_READWORD 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_restore_cred.3 b/doc/man/openpam_restore_cred.3
index 3b1c27e361a5..3319fd56b14b 100644
--- a/doc/man/openpam_restore_cred.3
+++ b/doc/man/openpam_restore_cred.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_restore_cred.c by gendoc.pl
-.\" $Id: openpam_restore_cred.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_restore_cred.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_RESTORE_CRED 3
.Os
.Sh NAME
@@ -23,6 +23,8 @@ The
.Fn openpam_restore_cred
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_NO_MODULE_DATA
Module data not found.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/openpam_set_feature.3 b/doc/man/openpam_set_feature.3
index bc5865096975..30774210df06 100644
--- a/doc/man/openpam_set_feature.3
+++ b/doc/man/openpam_set_feature.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_set_feature.c by gendoc.pl
-.\" $Id: openpam_set_feature.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_set_feature.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_SET_FEATURE 3
.Os
.Sh NAME
@@ -32,8 +32,10 @@ The
.Fn openpam_set_feature
function returns one of the following values:
.Bl -tag -width 18n
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_FEATURE
+Unrecognized or restricted feature.
.El
.Sh SEE ALSO
.Xr openpam_get_feature 3 ,
diff --git a/doc/man/openpam_set_option.3 b/doc/man/openpam_set_option.3
index 8cb0a7c65f83..751c3177425e 100644
--- a/doc/man/openpam_set_option.3
+++ b/doc/man/openpam_set_option.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_set_option.c by gendoc.pl
-.\" $Id: openpam_set_option.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_set_option.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_SET_OPTION 3
.Os
.Sh NAME
@@ -23,6 +23,8 @@ The
.Fn openpam_set_option
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/openpam_straddch.3 b/doc/man/openpam_straddch.3
index 127858f637a6..5f67891c814e 100644
--- a/doc/man/openpam_straddch.3
+++ b/doc/man/openpam_straddch.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_straddch.c by gendoc.pl
-.\" $Id: openpam_straddch.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_straddch.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_STRADDCH 3
.Os
.Sh NAME
diff --git a/doc/man/openpam_subst.3 b/doc/man/openpam_subst.3
index 5c0c111e32ff..ce55577854d5 100644
--- a/doc/man/openpam_subst.3
+++ b/doc/man/openpam_subst.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_subst.c by gendoc.pl
-.\" $Id: openpam_subst.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_subst.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_SUBST 3
.Os
.Sh NAME
@@ -81,6 +81,10 @@ The
.Fn openpam_subst
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_TRY_AGAIN
Try again.
.El
diff --git a/doc/man/openpam_ttyconv.3 b/doc/man/openpam_ttyconv.3
index 6aeb9f3b3eeb..4be2cd698dff 100644
--- a/doc/man/openpam_ttyconv.3
+++ b/doc/man/openpam_ttyconv.3
@@ -1,6 +1,6 @@
.\" Generated from openpam_ttyconv.c by gendoc.pl
-.\" $Id: openpam_ttyconv.c 890 2016-01-11 16:22:09Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: openpam_ttyconv.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt OPENPAM_TTYCONV 3
.Os
.Sh NAME
@@ -32,6 +32,8 @@ The
.Fn openpam_ttyconv
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam.3 b/doc/man/pam.3
index 5b46b6d3a8d0..7707e5dbf7af 100644
--- a/doc/man/pam.3
+++ b/doc/man/pam.3
@@ -1,5 +1,5 @@
.\" Generated by gendoc.pl
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt PAM 3
.Os
.Sh NAME
@@ -60,7 +60,7 @@
.Ft "const char *"
.Fn pam_strerror "const pam_handle_t *pamh" "int error_number"
.\"
-.\" $Id: pam.man 648 2013-03-05 17:54:27Z des $
+.\" $OpenPAM: pam.man 938 2017-04-30 21:34:42Z des $
.\"
.Sh DESCRIPTION
The Pluggable Authentication Modules (PAM) library abstracts a number
@@ -180,6 +180,14 @@ Authentication token lock busy.
Failed to recover old authentication token.
.It Bq Er PAM_AUTH_ERR
Authentication error.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
+.It Bq Er PAM_BAD_FEATURE
+Unrecognized or restricted feature.
+.It Bq Er PAM_BAD_HANDLE
+Invalid PAM handle.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam.conf.5 b/doc/man/pam.conf.5
index 64adb9d238a2..777e839ea2ca 100644
--- a/doc/man/pam.conf.5
+++ b/doc/man/pam.conf.5
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2005-2011 Dag-Erling Smørgrav
+.\" Copyright (c) 2005-2017 Dag-Erling Smørgrav
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -26,9 +26,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: pam.conf.5 924 2017-02-19 20:52:28Z des $
+.\" $OpenPAM: pam.conf.5 939 2017-04-30 21:36:50Z des $
.\"
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt PAM.CONF 5
.Os
.Sh NAME
diff --git a/doc/man/pam.man b/doc/man/pam.man
index 24c5d3242499..16873f57de64 100644
--- a/doc/man/pam.man
+++ b/doc/man/pam.man
@@ -1,5 +1,5 @@
.\"
-.\" $Id: pam.man 648 2013-03-05 17:54:27Z des $
+.\" $OpenPAM: pam.man 938 2017-04-30 21:34:42Z des $
.\"
.Sh DESCRIPTION
The Pluggable Authentication Modules (PAM) library abstracts a number
diff --git a/doc/man/pam_acct_mgmt.3 b/doc/man/pam_acct_mgmt.3
index b6d2d4f0fa5a..bd32933f3721 100644
--- a/doc/man/pam_acct_mgmt.3
+++ b/doc/man/pam_acct_mgmt.3
@@ -1,6 +1,6 @@
.\" Generated from pam_acct_mgmt.c by gendoc.pl
-.\" $Id: pam_acct_mgmt.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_acct_mgmt.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_ACCT_MGMT 3
.Os
.Sh NAME
@@ -37,6 +37,8 @@ The
.Fn pam_acct_mgmt
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_ACCT_EXPIRED
diff --git a/doc/man/pam_authenticate.3 b/doc/man/pam_authenticate.3
index 46a9994c6800..2701172abe58 100644
--- a/doc/man/pam_authenticate.3
+++ b/doc/man/pam_authenticate.3
@@ -1,6 +1,6 @@
.\" Generated from pam_authenticate.c by gendoc.pl
-.\" $Id: pam_authenticate.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_authenticate.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_AUTHENTICATE 3
.Os
.Sh NAME
@@ -41,18 +41,22 @@ Fail if the user's authentication token is null.
If any other bits are set,
.Fn pam_authenticate
will return
-.Dv PAM_SYMBOL_ERR .
+.Dv PAM_BAD_CONSTANT .
.Sh RETURN VALUES
The
.Fn pam_authenticate
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_AUTHINFO_UNAVAIL
Authentication information is unavailable.
.It Bq Er PAM_AUTH_ERR
Authentication error.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
@@ -65,8 +69,6 @@ Maximum number of tries exceeded.
Permission denied.
.It Bq Er PAM_SERVICE_ERR
Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
.It Bq Er PAM_SYSTEM_ERR
System error.
.It Bq Er PAM_USER_UNKNOWN
diff --git a/doc/man/pam_chauthtok.3 b/doc/man/pam_chauthtok.3
index 63a53e618e8f..89b7416db8dc 100644
--- a/doc/man/pam_chauthtok.3
+++ b/doc/man/pam_chauthtok.3
@@ -1,6 +1,6 @@
.\" Generated from pam_chauthtok.c by gendoc.pl
-.\" $Id: pam_chauthtok.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_chauthtok.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_CHAUTHTOK 3
.Os
.Sh NAME
@@ -33,12 +33,14 @@ Change only those authentication tokens that have expired.
If any other bits are set,
.Fn pam_chauthtok
will return
-.Dv PAM_SYMBOL_ERR .
+.Dv PAM_BAD_CONSTANT .
.Sh RETURN VALUES
The
.Fn pam_chauthtok
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_AUTHTOK_DISABLE_AGING
@@ -49,6 +51,8 @@ Authentication token failure.
Authentication token lock busy.
.It Bq Er PAM_AUTHTOK_RECOVERY_ERR
Failed to recover old authentication token.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
@@ -57,8 +61,6 @@ Conversation failure.
Permission denied.
.It Bq Er PAM_SERVICE_ERR
Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
.It Bq Er PAM_SYSTEM_ERR
System error.
.It Bq Er PAM_TRY_AGAIN
diff --git a/doc/man/pam_close_session.3 b/doc/man/pam_close_session.3
index 3d9ed399fad1..749d2199f21c 100644
--- a/doc/man/pam_close_session.3
+++ b/doc/man/pam_close_session.3
@@ -1,6 +1,6 @@
.\" Generated from pam_close_session.c by gendoc.pl
-.\" $Id: pam_close_session.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_close_session.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_CLOSE_SESSION 3
.Os
.Sh NAME
@@ -30,14 +30,18 @@ Do not emit any messages.
If any other bits are set,
.Fn pam_close_session
will return
-.Dv PAM_SYMBOL_ERR .
+.Dv PAM_BAD_CONSTANT .
.Sh RETURN VALUES
The
.Fn pam_close_session
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
@@ -48,8 +52,6 @@ Permission denied.
Error in service module.
.It Bq Er PAM_SESSION_ERR
Session failure.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
.It Bq Er PAM_SYSTEM_ERR
System error.
.El
diff --git a/doc/man/pam_conv.3 b/doc/man/pam_conv.3
index dcf34a25bffd..bbf0a572cbe7 100644
--- a/doc/man/pam_conv.3
+++ b/doc/man/pam_conv.3
@@ -1,6 +1,6 @@
.\"-
.\" Copyright (c) 2002-2003 Networks Associates Technology, Inc.
-.\" Copyright (c) 2004-2014 Dag-Erling Smørgrav
+.\" Copyright (c) 2004-2017 Dag-Erling Smørgrav
.\" All rights reserved.
.\"
.\" This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -32,9 +32,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: pam_conv.3 924 2017-02-19 20:52:28Z des $
+.\" $OpenPAM: pam_conv.3 939 2017-04-30 21:36:50Z des $
.\"
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt PAM_CONV 3
.Os
.Sh NAME
diff --git a/doc/man/pam_end.3 b/doc/man/pam_end.3
index 80ff655d3ad8..af4cbecffe62 100644
--- a/doc/man/pam_end.3
+++ b/doc/man/pam_end.3
@@ -1,6 +1,6 @@
.\" Generated from pam_end.c by gendoc.pl
-.\" $Id: pam_end.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_end.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_END 3
.Os
.Sh NAME
@@ -25,7 +25,13 @@ last API call before the call to
.Sh RETURN VALUES
The
.Fn pam_end
-function returns 0 on success and -1 on failure.
+function returns one of the following values:
+.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_HANDLE
+Invalid PAM handle.
+.El
.Sh SEE ALSO
.Xr pam 3 ,
.Xr pam_strerror 3
diff --git a/doc/man/pam_error.3 b/doc/man/pam_error.3
index de63c1ec02c8..cf3445ea906a 100644
--- a/doc/man/pam_error.3
+++ b/doc/man/pam_error.3
@@ -1,6 +1,6 @@
.\" Generated from pam_error.c by gendoc.pl
-.\" $Id: pam_error.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_error.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_ERROR 3
.Os
.Sh NAME
@@ -22,6 +22,8 @@ The
.Fn pam_error
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_get_authtok.3 b/doc/man/pam_get_authtok.3
index dab3de823305..bedeffbe033c 100644
--- a/doc/man/pam_get_authtok.3
+++ b/doc/man/pam_get_authtok.3
@@ -1,6 +1,6 @@
.\" Generated from pam_get_authtok.c by gendoc.pl
-.\" $Id: pam_get_authtok.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_get_authtok.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GET_AUTHTOK 3
.Os
.Sh NAME
@@ -121,6 +121,12 @@ The
.Fn pam_get_authtok
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_get_data.3 b/doc/man/pam_get_data.3
index 35b3cd17cc13..104e25aeca96 100644
--- a/doc/man/pam_get_data.3
+++ b/doc/man/pam_get_data.3
@@ -1,6 +1,6 @@
.\" Generated from pam_get_data.c by gendoc.pl
-.\" $Id: pam_get_data.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_get_data.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GET_DATA 3
.Os
.Sh NAME
@@ -39,6 +39,8 @@ The
.Fn pam_get_data
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_NO_MODULE_DATA
Module data not found.
.El
diff --git a/doc/man/pam_get_item.3 b/doc/man/pam_get_item.3
index c53e9228346b..9f96e96b6407 100644
--- a/doc/man/pam_get_item.3
+++ b/doc/man/pam_get_item.3
@@ -1,6 +1,6 @@
.\" Generated from pam_get_item.c by gendoc.pl
-.\" $Id: pam_get_item.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_get_item.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GET_ITEM 3
.Os
.Sh NAME
@@ -74,8 +74,10 @@ The
.Fn pam_get_item
function returns one of the following values:
.Bl -tag -width 18n
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.El
.Sh SEE ALSO
.Xr pam 3 ,
diff --git a/doc/man/pam_get_user.3 b/doc/man/pam_get_user.3
index 96c1af61dfd7..58a861d48075 100644
--- a/doc/man/pam_get_user.3
+++ b/doc/man/pam_get_user.3
@@ -1,6 +1,6 @@
.\" Generated from pam_get_user.c by gendoc.pl
-.\" $Id: pam_get_user.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_get_user.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GET_USER 3
.Os
.Sh NAME
@@ -66,6 +66,10 @@ The
.Fn pam_get_user
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_getenv.3 b/doc/man/pam_getenv.3
index d2dd7829bb26..dbbb484896f4 100644
--- a/doc/man/pam_getenv.3
+++ b/doc/man/pam_getenv.3
@@ -1,6 +1,6 @@
.\" Generated from pam_getenv.c by gendoc.pl
-.\" $Id: pam_getenv.c 914 2017-01-21 15:15:29Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_getenv.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GETENV 3
.Os
.Sh NAME
diff --git a/doc/man/pam_getenvlist.3 b/doc/man/pam_getenvlist.3
index 9fa65e746983..29827cd53a32 100644
--- a/doc/man/pam_getenvlist.3
+++ b/doc/man/pam_getenvlist.3
@@ -1,6 +1,6 @@
.\" Generated from pam_getenvlist.c by gendoc.pl
-.\" $Id: pam_getenvlist.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_getenvlist.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_GETENVLIST 3
.Os
.Sh NAME
diff --git a/doc/man/pam_info.3 b/doc/man/pam_info.3
index 5fe84b25d74a..5fd8d5f57195 100644
--- a/doc/man/pam_info.3
+++ b/doc/man/pam_info.3
@@ -1,6 +1,6 @@
.\" Generated from pam_info.c by gendoc.pl
-.\" $Id: pam_info.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_info.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_INFO 3
.Os
.Sh NAME
@@ -22,6 +22,8 @@ The
.Fn pam_info
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_open_session.3 b/doc/man/pam_open_session.3
index 052a17fe0f0a..dd026071edac 100644
--- a/doc/man/pam_open_session.3
+++ b/doc/man/pam_open_session.3
@@ -1,6 +1,6 @@
.\" Generated from pam_open_session.c by gendoc.pl
-.\" $Id: pam_open_session.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_open_session.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_OPEN_SESSION 3
.Os
.Sh NAME
@@ -31,14 +31,18 @@ Do not emit any messages.
If any other bits are set,
.Fn pam_open_session
will return
-.Dv PAM_SYMBOL_ERR .
+.Dv PAM_BAD_CONSTANT .
.Sh RETURN VALUES
The
.Fn pam_open_session
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
@@ -49,8 +53,6 @@ Permission denied.
Error in service module.
.It Bq Er PAM_SESSION_ERR
Session failure.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
.It Bq Er PAM_SYSTEM_ERR
System error.
.El
diff --git a/doc/man/pam_prompt.3 b/doc/man/pam_prompt.3
index d98696687f9c..b78ce3a41b41 100644
--- a/doc/man/pam_prompt.3
+++ b/doc/man/pam_prompt.3
@@ -1,6 +1,6 @@
.\" Generated from pam_prompt.c by gendoc.pl
-.\" $Id: pam_prompt.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_prompt.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_PROMPT 3
.Os
.Sh NAME
@@ -34,6 +34,8 @@ The
.Fn pam_prompt
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_putenv.3 b/doc/man/pam_putenv.3
index e177c584e28f..2be772ffec3f 100644
--- a/doc/man/pam_putenv.3
+++ b/doc/man/pam_putenv.3
@@ -1,6 +1,6 @@
.\" Generated from pam_putenv.c by gendoc.pl
-.\" $Id: pam_putenv.c 914 2017-01-21 15:15:29Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_putenv.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_PUTENV 3
.Os
.Sh NAME
@@ -25,6 +25,8 @@ The
.Fn pam_putenv
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/pam_set_data.3 b/doc/man/pam_set_data.3
index 8232740f3a7d..253d014877fc 100644
--- a/doc/man/pam_set_data.3
+++ b/doc/man/pam_set_data.3
@@ -1,6 +1,6 @@
.\" Generated from pam_set_data.c by gendoc.pl
-.\" $Id: pam_set_data.c 913 2017-01-21 15:11:12Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_set_data.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SET_DATA 3
.Os
.Sh NAME
@@ -38,6 +38,8 @@ The
.Fn pam_set_data
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/pam_set_item.3 b/doc/man/pam_set_item.3
index 2165f5721538..3d479c92dd1d 100644
--- a/doc/man/pam_set_item.3
+++ b/doc/man/pam_set_item.3
@@ -1,6 +1,6 @@
.\" Generated from pam_set_item.c by gendoc.pl
-.\" $Id: pam_set_item.c 918 2017-02-19 17:46:22Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_set_item.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SET_ITEM 3
.Os
.Sh NAME
@@ -30,12 +30,12 @@ The
.Fn pam_set_item
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
-.It Bq Er PAM_SYSTEM_ERR
-System error.
.El
.Sh SEE ALSO
.Xr pam 3 ,
diff --git a/doc/man/pam_setcred.3 b/doc/man/pam_setcred.3
index 830043b024e8..fc5eaadc2b0c 100644
--- a/doc/man/pam_setcred.3
+++ b/doc/man/pam_setcred.3
@@ -1,6 +1,6 @@
.\" Generated from pam_setcred.c by gendoc.pl
-.\" $Id: pam_setcred.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_setcred.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SETCRED 3
.Os
.Sh NAME
@@ -38,14 +38,18 @@ The latter four are mutually exclusive.
If any other bits are set,
.Fn pam_setcred
will return
-.Dv PAM_SYMBOL_ERR .
+.Dv PAM_BAD_CONSTANT .
.Sh RETURN VALUES
The
.Fn pam_setcred
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
+.It Bq Er PAM_BAD_CONSTANT
+Bad constant.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
@@ -60,8 +64,6 @@ Failed to retrieve user credentials.
Permission denied.
.It Bq Er PAM_SERVICE_ERR
Error in service module.
-.It Bq Er PAM_SYMBOL_ERR
-Invalid symbol.
.It Bq Er PAM_SYSTEM_ERR
System error.
.It Bq Er PAM_USER_UNKNOWN
diff --git a/doc/man/pam_setenv.3 b/doc/man/pam_setenv.3
index 09e9ec5532ac..8fced1e8cc5e 100644
--- a/doc/man/pam_setenv.3
+++ b/doc/man/pam_setenv.3
@@ -1,6 +1,6 @@
.\" Generated from pam_setenv.c by gendoc.pl
-.\" $Id: pam_setenv.c 914 2017-01-21 15:15:29Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_setenv.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SETENV 3
.Os
.Sh NAME
@@ -25,6 +25,8 @@ The
.Fn pam_setenv
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/pam_sm_acct_mgmt.3 b/doc/man/pam_sm_acct_mgmt.3
index e28174f75395..2df56b5aa29a 100644
--- a/doc/man/pam_sm_acct_mgmt.3
+++ b/doc/man/pam_sm_acct_mgmt.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_acct_mgmt.c by gendoc.pl
-.\" $Id: pam_sm_acct_mgmt.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_acct_mgmt.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_ACCT_MGMT 3
.Os
.Sh NAME
@@ -24,6 +24,8 @@ The
.Fn pam_sm_acct_mgmt
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_ACCT_EXPIRED
diff --git a/doc/man/pam_sm_authenticate.3 b/doc/man/pam_sm_authenticate.3
index 3d7d0ce3014a..1dc6c69ca9b5 100644
--- a/doc/man/pam_sm_authenticate.3
+++ b/doc/man/pam_sm_authenticate.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_authenticate.c by gendoc.pl
-.\" $Id: pam_sm_authenticate.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_authenticate.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_AUTHENTICATE 3
.Os
.Sh NAME
@@ -24,6 +24,8 @@ The
.Fn pam_sm_authenticate
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_AUTHINFO_UNAVAIL
diff --git a/doc/man/pam_sm_chauthtok.3 b/doc/man/pam_sm_chauthtok.3
index 3905973fa7c8..be1baa8d5791 100644
--- a/doc/man/pam_sm_chauthtok.3
+++ b/doc/man/pam_sm_chauthtok.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_chauthtok.c by gendoc.pl
-.\" $Id: pam_sm_chauthtok.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_chauthtok.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_CHAUTHTOK 3
.Os
.Sh NAME
@@ -34,6 +34,8 @@ The
.Fn pam_sm_chauthtok
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_AUTHTOK_DISABLE_AGING
diff --git a/doc/man/pam_sm_close_session.3 b/doc/man/pam_sm_close_session.3
index d07ebf9aee6e..5b2034e15c7e 100644
--- a/doc/man/pam_sm_close_session.3
+++ b/doc/man/pam_sm_close_session.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_close_session.c by gendoc.pl
-.\" $Id: pam_sm_close_session.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_close_session.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_CLOSE_SESSION 3
.Os
.Sh NAME
@@ -24,6 +24,8 @@ The
.Fn pam_sm_close_session
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_BUF_ERR
diff --git a/doc/man/pam_sm_open_session.3 b/doc/man/pam_sm_open_session.3
index d4bb88ba7d1c..6b4ab9a409b3 100644
--- a/doc/man/pam_sm_open_session.3
+++ b/doc/man/pam_sm_open_session.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_open_session.c by gendoc.pl
-.\" $Id: pam_sm_open_session.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_open_session.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_OPEN_SESSION 3
.Os
.Sh NAME
@@ -24,6 +24,8 @@ The
.Fn pam_sm_open_session
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_BUF_ERR
diff --git a/doc/man/pam_sm_setcred.3 b/doc/man/pam_sm_setcred.3
index 0b0140fcabc7..cf1b76eb043b 100644
--- a/doc/man/pam_sm_setcred.3
+++ b/doc/man/pam_sm_setcred.3
@@ -1,6 +1,6 @@
.\" Generated from pam_sm_setcred.c by gendoc.pl
-.\" $Id: pam_sm_setcred.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_sm_setcred.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_SM_SETCRED 3
.Os
.Sh NAME
@@ -24,6 +24,8 @@ The
.Fn pam_sm_setcred
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_ABORT
General failure.
.It Bq Er PAM_BUF_ERR
diff --git a/doc/man/pam_start.3 b/doc/man/pam_start.3
index 72702cb7d827..7a2ba5bb8f2a 100644
--- a/doc/man/pam_start.3
+++ b/doc/man/pam_start.3
@@ -1,6 +1,6 @@
.\" Generated from pam_start.c by gendoc.pl
-.\" $Id: pam_start.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_start.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_START 3
.Os
.Sh NAME
@@ -45,6 +45,10 @@ The
.Fn pam_start
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
+.It Bq Er PAM_BAD_ITEM
+Unrecognized or restricted item.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_SYSTEM_ERR
diff --git a/doc/man/pam_strerror.3 b/doc/man/pam_strerror.3
index a6901fb8dfb9..bdfb1c2649c4 100644
--- a/doc/man/pam_strerror.3
+++ b/doc/man/pam_strerror.3
@@ -1,6 +1,6 @@
.\" Generated from pam_strerror.c by gendoc.pl
-.\" $Id: pam_strerror.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_strerror.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_STRERROR 3
.Os
.Sh NAME
diff --git a/doc/man/pam_verror.3 b/doc/man/pam_verror.3
index a4aff7e39674..ed680b72ad6b 100644
--- a/doc/man/pam_verror.3
+++ b/doc/man/pam_verror.3
@@ -1,6 +1,6 @@
.\" Generated from pam_verror.c by gendoc.pl
-.\" $Id: pam_verror.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_verror.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_VERROR 3
.Os
.Sh NAME
@@ -26,6 +26,8 @@ The
.Fn pam_verror
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_vinfo.3 b/doc/man/pam_vinfo.3
index b9f9d3f29e9b..a5923cb8573c 100644
--- a/doc/man/pam_vinfo.3
+++ b/doc/man/pam_vinfo.3
@@ -1,6 +1,6 @@
.\" Generated from pam_vinfo.c by gendoc.pl
-.\" $Id: pam_vinfo.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_vinfo.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_VINFO 3
.Os
.Sh NAME
@@ -26,6 +26,8 @@ The
.Fn pam_vinfo
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR
diff --git a/doc/man/pam_vprompt.3 b/doc/man/pam_vprompt.3
index bd081fc776b3..4cfa9ed77dd1 100644
--- a/doc/man/pam_vprompt.3
+++ b/doc/man/pam_vprompt.3
@@ -1,6 +1,6 @@
.\" Generated from pam_vprompt.c by gendoc.pl
-.\" $Id: pam_vprompt.c 648 2013-03-05 17:54:27Z des $
-.Dd February 19, 2017
+.\" $OpenPAM: pam_vprompt.c 938 2017-04-30 21:34:42Z des $
+.Dd April 30, 2017
.Dt PAM_VPROMPT 3
.Os
.Sh NAME
@@ -60,6 +60,8 @@ The
.Fn pam_vprompt
function returns one of the following values:
.Bl -tag -width 18n
+.It Bq Er PAM_SUCCESS
+Success.
.It Bq Er PAM_BUF_ERR
Memory buffer error.
.It Bq Er PAM_CONV_ERR