svn commit: r317827 - in head/contrib/openpam: . bin bin/openpam_dump_policy bin/pamtest bin/su doc doc/man include include/security lib lib/libpam misc modules modules/pam_deny modules/pam_permit ...
Dag-Erling Smørgrav
des at FreeBSD.org
Fri May 5 13:31:33 UTC 2017
Author: des
Date: Fri May 5 13:31:25 2017
New Revision: 317827
URL: https://svnweb.freebsd.org/changeset/base/317827
Log:
Upgrade to OpenPAM Resedacea.
MFC after: 3 weeks
Modified:
head/contrib/openpam/HISTORY
head/contrib/openpam/Makefile.am
head/contrib/openpam/Makefile.in
head/contrib/openpam/RELNOTES
head/contrib/openpam/autogen.sh
head/contrib/openpam/bin/Makefile.am
head/contrib/openpam/bin/Makefile.in
head/contrib/openpam/bin/openpam_dump_policy/Makefile.am
head/contrib/openpam/bin/openpam_dump_policy/Makefile.in
head/contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c
head/contrib/openpam/bin/pamtest/Makefile.am
head/contrib/openpam/bin/pamtest/Makefile.in
head/contrib/openpam/bin/pamtest/pamtest.1
head/contrib/openpam/bin/pamtest/pamtest.c
head/contrib/openpam/bin/su/Makefile.am
head/contrib/openpam/bin/su/Makefile.in
head/contrib/openpam/bin/su/su.1
head/contrib/openpam/bin/su/su.c
head/contrib/openpam/configure
head/contrib/openpam/configure.ac
head/contrib/openpam/doc/Makefile.am
head/contrib/openpam/doc/Makefile.in
head/contrib/openpam/doc/man/Makefile.am
head/contrib/openpam/doc/man/Makefile.in
head/contrib/openpam/doc/man/openpam.3
head/contrib/openpam/doc/man/openpam.man
head/contrib/openpam/doc/man/openpam_borrow_cred.3
head/contrib/openpam/doc/man/openpam_free_data.3
head/contrib/openpam/doc/man/openpam_free_envlist.3
head/contrib/openpam/doc/man/openpam_get_feature.3
head/contrib/openpam/doc/man/openpam_get_option.3
head/contrib/openpam/doc/man/openpam_log.3
head/contrib/openpam/doc/man/openpam_nullconv.3
head/contrib/openpam/doc/man/openpam_readline.3
head/contrib/openpam/doc/man/openpam_readlinev.3
head/contrib/openpam/doc/man/openpam_readword.3
head/contrib/openpam/doc/man/openpam_restore_cred.3
head/contrib/openpam/doc/man/openpam_set_feature.3
head/contrib/openpam/doc/man/openpam_set_option.3
head/contrib/openpam/doc/man/openpam_straddch.3
head/contrib/openpam/doc/man/openpam_subst.3
head/contrib/openpam/doc/man/openpam_ttyconv.3
head/contrib/openpam/doc/man/pam.3
head/contrib/openpam/doc/man/pam.conf.5
head/contrib/openpam/doc/man/pam.man
head/contrib/openpam/doc/man/pam_acct_mgmt.3
head/contrib/openpam/doc/man/pam_authenticate.3
head/contrib/openpam/doc/man/pam_chauthtok.3
head/contrib/openpam/doc/man/pam_close_session.3
head/contrib/openpam/doc/man/pam_conv.3
head/contrib/openpam/doc/man/pam_end.3
head/contrib/openpam/doc/man/pam_error.3
head/contrib/openpam/doc/man/pam_get_authtok.3
head/contrib/openpam/doc/man/pam_get_data.3
head/contrib/openpam/doc/man/pam_get_item.3
head/contrib/openpam/doc/man/pam_get_user.3
head/contrib/openpam/doc/man/pam_getenv.3
head/contrib/openpam/doc/man/pam_getenvlist.3
head/contrib/openpam/doc/man/pam_info.3
head/contrib/openpam/doc/man/pam_open_session.3
head/contrib/openpam/doc/man/pam_prompt.3
head/contrib/openpam/doc/man/pam_putenv.3
head/contrib/openpam/doc/man/pam_set_data.3
head/contrib/openpam/doc/man/pam_set_item.3
head/contrib/openpam/doc/man/pam_setcred.3
head/contrib/openpam/doc/man/pam_setenv.3
head/contrib/openpam/doc/man/pam_sm_acct_mgmt.3
head/contrib/openpam/doc/man/pam_sm_authenticate.3
head/contrib/openpam/doc/man/pam_sm_chauthtok.3
head/contrib/openpam/doc/man/pam_sm_close_session.3
head/contrib/openpam/doc/man/pam_sm_open_session.3
head/contrib/openpam/doc/man/pam_sm_setcred.3
head/contrib/openpam/doc/man/pam_start.3
head/contrib/openpam/doc/man/pam_strerror.3
head/contrib/openpam/doc/man/pam_verror.3
head/contrib/openpam/doc/man/pam_vinfo.3
head/contrib/openpam/doc/man/pam_vprompt.3
head/contrib/openpam/include/Makefile.am
head/contrib/openpam/include/Makefile.in
head/contrib/openpam/include/security/Makefile.am
head/contrib/openpam/include/security/Makefile.in
head/contrib/openpam/include/security/openpam.h
head/contrib/openpam/include/security/openpam_attr.h
head/contrib/openpam/include/security/openpam_version.h
head/contrib/openpam/include/security/pam_appl.h
head/contrib/openpam/include/security/pam_constants.h
head/contrib/openpam/include/security/pam_modules.h
head/contrib/openpam/include/security/pam_types.h
head/contrib/openpam/lib/Makefile.am
head/contrib/openpam/lib/Makefile.in
head/contrib/openpam/lib/libpam/Makefile.am
head/contrib/openpam/lib/libpam/Makefile.in
head/contrib/openpam/lib/libpam/openpam_asprintf.c
head/contrib/openpam/lib/libpam/openpam_asprintf.h
head/contrib/openpam/lib/libpam/openpam_borrow_cred.c
head/contrib/openpam/lib/libpam/openpam_check_owner_perms.c
head/contrib/openpam/lib/libpam/openpam_configure.c
head/contrib/openpam/lib/libpam/openpam_constants.c
head/contrib/openpam/lib/libpam/openpam_constants.h
head/contrib/openpam/lib/libpam/openpam_cred.h
head/contrib/openpam/lib/libpam/openpam_ctype.h
head/contrib/openpam/lib/libpam/openpam_debug.h
head/contrib/openpam/lib/libpam/openpam_dispatch.c
head/contrib/openpam/lib/libpam/openpam_dlfunc.h
head/contrib/openpam/lib/libpam/openpam_dynamic.c
head/contrib/openpam/lib/libpam/openpam_features.c
head/contrib/openpam/lib/libpam/openpam_features.h
head/contrib/openpam/lib/libpam/openpam_findenv.c
head/contrib/openpam/lib/libpam/openpam_free_data.c
head/contrib/openpam/lib/libpam/openpam_free_envlist.c
head/contrib/openpam/lib/libpam/openpam_get_feature.c
head/contrib/openpam/lib/libpam/openpam_get_option.c
head/contrib/openpam/lib/libpam/openpam_impl.h
head/contrib/openpam/lib/libpam/openpam_load.c
head/contrib/openpam/lib/libpam/openpam_log.c
head/contrib/openpam/lib/libpam/openpam_nullconv.c
head/contrib/openpam/lib/libpam/openpam_readline.c
head/contrib/openpam/lib/libpam/openpam_readlinev.c
head/contrib/openpam/lib/libpam/openpam_readword.c
head/contrib/openpam/lib/libpam/openpam_restore_cred.c
head/contrib/openpam/lib/libpam/openpam_set_feature.c
head/contrib/openpam/lib/libpam/openpam_set_option.c
head/contrib/openpam/lib/libpam/openpam_static.c
head/contrib/openpam/lib/libpam/openpam_straddch.c
head/contrib/openpam/lib/libpam/openpam_strlcat.c
head/contrib/openpam/lib/libpam/openpam_strlcat.h
head/contrib/openpam/lib/libpam/openpam_strlcmp.h
head/contrib/openpam/lib/libpam/openpam_strlcpy.c
head/contrib/openpam/lib/libpam/openpam_strlcpy.h
head/contrib/openpam/lib/libpam/openpam_strlset.c
head/contrib/openpam/lib/libpam/openpam_strlset.h
head/contrib/openpam/lib/libpam/openpam_subst.c
head/contrib/openpam/lib/libpam/openpam_ttyconv.c
head/contrib/openpam/lib/libpam/openpam_vasprintf.c
head/contrib/openpam/lib/libpam/openpam_vasprintf.h
head/contrib/openpam/lib/libpam/pam_acct_mgmt.c
head/contrib/openpam/lib/libpam/pam_authenticate.c
head/contrib/openpam/lib/libpam/pam_authenticate_secondary.c
head/contrib/openpam/lib/libpam/pam_chauthtok.c
head/contrib/openpam/lib/libpam/pam_close_session.c
head/contrib/openpam/lib/libpam/pam_end.c
head/contrib/openpam/lib/libpam/pam_error.c
head/contrib/openpam/lib/libpam/pam_get_authtok.c
head/contrib/openpam/lib/libpam/pam_get_data.c
head/contrib/openpam/lib/libpam/pam_get_item.c
head/contrib/openpam/lib/libpam/pam_get_mapped_authtok.c
head/contrib/openpam/lib/libpam/pam_get_mapped_username.c
head/contrib/openpam/lib/libpam/pam_get_user.c
head/contrib/openpam/lib/libpam/pam_getenv.c
head/contrib/openpam/lib/libpam/pam_getenvlist.c
head/contrib/openpam/lib/libpam/pam_info.c
head/contrib/openpam/lib/libpam/pam_open_session.c
head/contrib/openpam/lib/libpam/pam_prompt.c
head/contrib/openpam/lib/libpam/pam_putenv.c
head/contrib/openpam/lib/libpam/pam_set_data.c
head/contrib/openpam/lib/libpam/pam_set_item.c
head/contrib/openpam/lib/libpam/pam_set_mapped_authtok.c
head/contrib/openpam/lib/libpam/pam_set_mapped_username.c
head/contrib/openpam/lib/libpam/pam_setcred.c
head/contrib/openpam/lib/libpam/pam_setenv.c
head/contrib/openpam/lib/libpam/pam_sm_acct_mgmt.c
head/contrib/openpam/lib/libpam/pam_sm_authenticate.c
head/contrib/openpam/lib/libpam/pam_sm_authenticate_secondary.c
head/contrib/openpam/lib/libpam/pam_sm_chauthtok.c
head/contrib/openpam/lib/libpam/pam_sm_close_session.c
head/contrib/openpam/lib/libpam/pam_sm_get_mapped_authtok.c
head/contrib/openpam/lib/libpam/pam_sm_get_mapped_username.c
head/contrib/openpam/lib/libpam/pam_sm_open_session.c
head/contrib/openpam/lib/libpam/pam_sm_set_mapped_authtok.c
head/contrib/openpam/lib/libpam/pam_sm_set_mapped_username.c
head/contrib/openpam/lib/libpam/pam_sm_setcred.c
head/contrib/openpam/lib/libpam/pam_start.c
head/contrib/openpam/lib/libpam/pam_strerror.c
head/contrib/openpam/lib/libpam/pam_verror.c
head/contrib/openpam/lib/libpam/pam_vinfo.c
head/contrib/openpam/lib/libpam/pam_vprompt.c
head/contrib/openpam/misc/gendoc.pl
head/contrib/openpam/mkpkgng.in
head/contrib/openpam/modules/Makefile.am
head/contrib/openpam/modules/Makefile.in
head/contrib/openpam/modules/pam_deny/Makefile.am
head/contrib/openpam/modules/pam_deny/Makefile.in
head/contrib/openpam/modules/pam_deny/pam_deny.c
head/contrib/openpam/modules/pam_permit/Makefile.am
head/contrib/openpam/modules/pam_permit/Makefile.in
head/contrib/openpam/modules/pam_permit/pam_permit.c
head/contrib/openpam/modules/pam_return/Makefile.am
head/contrib/openpam/modules/pam_return/Makefile.in
head/contrib/openpam/modules/pam_return/pam_return.c
head/contrib/openpam/modules/pam_unix/Makefile.am
head/contrib/openpam/modules/pam_unix/Makefile.in
head/contrib/openpam/modules/pam_unix/pam_unix.c
head/contrib/openpam/t/Makefile.am
head/contrib/openpam/t/Makefile.in
head/contrib/openpam/t/t_openpam_ctype.c
head/contrib/openpam/t/t_openpam_dispatch.c
head/contrib/openpam/t/t_openpam_readlinev.c
head/contrib/openpam/t/t_openpam_readword.c
head/contrib/openpam/t/t_pam_conv.c
head/contrib/openpam/t/t_pam_conv.h
Directory Properties:
head/contrib/openpam/ (props changed)
Modified: head/contrib/openpam/HISTORY
==============================================================================
--- head/contrib/openpam/HISTORY Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/HISTORY Fri May 5 13:31:25 2017 (r317827)
@@ -1,3 +1,23 @@
+OpenPAM Resedacea 2017-04-30
+
+ - BUGFIX: Reinstore the NULL check in pam_end(3) which was removed in
+ OpenPAM Radula, as it breaks common error-handling constructs.
+
+ - BUGFIX: Return PAM_SYMBOL_ERR instead of PAM_SYSTEM_ERR from the
+ dispatcher when the required service function could not be found.
+
+ - ENHANCE: Introduce the PAM_BAD_HANDLE error code for when pamh is
+ NULL in API functions that have a NULL check.
+
+ - ENHANCE: Introduce the PAM_BAD_ITEM, PAM_BAD_FEATURE and
+ PAM_BAD_CONSTANT error codes for situations where we previously
+ incorrectly used PAM_SYMBOL_ERR to denote that an invalid constant
+ had been passed to an API function.
+
+ - ENHANCE: Improve the RETURN VALUES section in API man pages,
+ especially for functions that cannot fail, which were incorrectly
+ documented as returning -1 on failure.
+============================================================================
OpenPAM Radula 2017-02-19
- BUGFIX: Fix an inverted test which prevented pam_get_authtok(3) and
Modified: head/contrib/openpam/Makefile.am
==============================================================================
--- head/contrib/openpam/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 917 2017-02-18 14:45:27Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
ACLOCAL_AMFLAGS = -I m4
Modified: head/contrib/openpam/Makefile.in
==============================================================================
--- head/contrib/openpam/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 917 2017-02-18 14:45:27Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
@@ -165,7 +165,7 @@ CSCOPE = cscope
DIST_SUBDIRS = misc include lib bin modules doc t
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/mkpkgng.in INSTALL README TODO compile config.guess \
- config.sub depcomp install-sh ltmain.sh missing
+ config.sub install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
Modified: head/contrib/openpam/RELNOTES
==============================================================================
--- head/contrib/openpam/RELNOTES Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/RELNOTES Fri May 5 13:31:25 2017 (r317827)
@@ -1,6 +1,6 @@
- Release notes for OpenPAM Radula
- ================================
+ Release notes for OpenPAM Resedacea
+ ===================================
OpenPAM is developed primarily on FreeBSD, but is expected to work on
almost any POSIX-like platform that has GNU autotools, GNU make and
Modified: head/contrib/openpam/autogen.sh
==============================================================================
--- head/contrib/openpam/autogen.sh Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/autogen.sh Fri May 5 13:31:25 2017 (r317827)
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: autogen.sh 814 2014-09-12 07:46:46Z des $
+# $OpenPAM: autogen.sh 938 2017-04-30 21:34:42Z des $
#
libtoolize --copy --force
Modified: head/contrib/openpam/bin/Makefile.am
==============================================================================
--- head/contrib/openpam/bin/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -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 $
SUBDIRS = openpam_dump_policy
Modified: head/contrib/openpam/bin/Makefile.in
==============================================================================
--- head/contrib/openpam/bin/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -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 $
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
Modified: head/contrib/openpam/bin/openpam_dump_policy/Makefile.am
==============================================================================
--- head/contrib/openpam/bin/openpam_dump_policy/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/openpam_dump_policy/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
Modified: head/contrib/openpam/bin/openpam_dump_policy/Makefile.in
==============================================================================
--- head/contrib/openpam/bin/openpam_dump_policy/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/openpam_dump_policy/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
Modified: head/contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c
==============================================================================
--- head/contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/openpam_dump_policy/openpam_dump_policy.c Fri May 5 13:31:25 2017 (r317827)
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: openpam_dump_policy.c 890 2016-01-11 16:22:09Z des $
+ * $OpenPAM: openpam_dump_policy.c 938 2017-04-30 21:34:42Z des $
*/
#ifdef HAVE_CONFIG_H
Modified: head/contrib/openpam/bin/pamtest/Makefile.am
==============================================================================
--- head/contrib/openpam/bin/pamtest/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/pamtest/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
AM_CPPFLAGS = -I$(top_srcdir)/include
Modified: head/contrib/openpam/bin/pamtest/Makefile.in
==============================================================================
--- head/contrib/openpam/bin/pamtest/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/pamtest/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
Modified: head/contrib/openpam/bin/pamtest/pamtest.1
==============================================================================
--- head/contrib/openpam/bin/pamtest/pamtest.1 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/pamtest/pamtest.1 Fri May 5 13:31:25 2017 (r317827)
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2011 Dag-Erling Smørgrav
+.\" Copyright (c) 2011-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: pamtest.1 924 2017-02-19 20:52:28Z des $
+.\" $OpenPAM: pamtest.1 939 2017-04-30 21:36:50Z des $
.\"
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt PAMTEST 1
.Os
.Sh NAME
Modified: head/contrib/openpam/bin/pamtest/pamtest.c
==============================================================================
--- head/contrib/openpam/bin/pamtest/pamtest.c Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/pamtest/pamtest.c Fri May 5 13:31:25 2017 (r317827)
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pamtest.c 685 2013-07-11 16:33:34Z des $
+ * $OpenPAM: pamtest.c 938 2017-04-30 21:34:42Z des $
*/
#ifdef HAVE_CONFIG_H
Modified: head/contrib/openpam/bin/su/Makefile.am
==============================================================================
--- head/contrib/openpam/bin/su/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/su/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -1,4 +1,4 @@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
AM_CPPFLAGS = -I$(top_srcdir)/include
Modified: head/contrib/openpam/bin/su/Makefile.in
==============================================================================
--- head/contrib/openpam/bin/su/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/su/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -14,7 +14,7 @@
@SET_MAKE@
-# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
+# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
VPATH = @srcdir@
am__is_gnu_make = { \
Modified: head/contrib/openpam/bin/su/su.1
==============================================================================
--- head/contrib/openpam/bin/su/su.1 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/su/su.1 Fri May 5 13:31:25 2017 (r317827)
@@ -1,5 +1,5 @@
.\"-
-.\" Copyright (c) 2011 Dag-Erling Smørgrav
+.\" Copyright (c) 2011-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: su.1 924 2017-02-19 20:52:28Z des $
+.\" $OpenPAM: su.1 939 2017-04-30 21:36:50Z des $
.\"
-.Dd February 19, 2017
+.Dd April 30, 2017
.Dt SU 1
.Os
.Sh NAME
Modified: head/contrib/openpam/bin/su/su.c
==============================================================================
--- head/contrib/openpam/bin/su/su.c Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/bin/su/su.c Fri May 5 13:31:25 2017 (r317827)
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: su.c 648 2013-03-05 17:54:27Z des $
+ * $OpenPAM: su.c 938 2017-04-30 21:34:42Z des $
*/
#ifdef HAVE_CONFIG_H
Modified: head/contrib/openpam/configure
==============================================================================
--- head/contrib/openpam/configure Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/configure Fri May 5 13:31:25 2017 (r317827)
@@ -1,7 +1,7 @@
#! /bin/sh
-# From configure.ac Id: configure.ac 924 2017-02-19 20:52:28Z des .
+# From configure.ac OpenPAM: configure.ac 939 2017-04-30 21:36:50Z des .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for OpenPAM 20170219.
+# Generated by GNU Autoconf 2.69 for OpenPAM 20170430.
#
# Report bugs to <des at des.no>.
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='OpenPAM'
PACKAGE_TARNAME='openpam'
-PACKAGE_VERSION='20170219'
-PACKAGE_STRING='OpenPAM 20170219'
+PACKAGE_VERSION='20170430'
+PACKAGE_STRING='OpenPAM 20170430'
PACKAGE_BUGREPORT='des at des.no'
PACKAGE_URL='http://www.openpam.org/'
@@ -1345,7 +1345,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenPAM 20170219 to adapt to many kinds of systems.
+\`configure' configures OpenPAM 20170430 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1415,7 +1415,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenPAM 20170219:";;
+ short | recursive ) echo "Configuration of OpenPAM 20170430:";;
esac
cat <<\_ACEOF
@@ -1540,7 +1540,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenPAM configure 20170219
+OpenPAM configure 20170430
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1909,7 +1909,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenPAM $as_me 20170219, which was
+It was created by OpenPAM $as_me 20170430, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2774,7 +2774,7 @@ fi
# Define the identity of the package.
PACKAGE='openpam'
- VERSION='20170219'
+ VERSION='20170430'
cat >>confdefs.h <<_ACEOF
@@ -13577,7 +13577,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenPAM $as_me 20170219, which was
+This file was extended by OpenPAM $as_me 20170430, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -13644,7 +13644,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-OpenPAM config.status 20170219
+OpenPAM config.status 20170430
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Modified: head/contrib/openpam/configure.ac
==============================================================================
--- head/contrib/openpam/configure.ac Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/configure.ac Fri May 5 13:31:25 2017 (r317827)
@@ -1,8 +1,8 @@
-dnl $Id: configure.ac 924 2017-02-19 20:52:28Z des $
+dnl $OpenPAM: configure.ac 939 2017-04-30 21:36:50Z des $
AC_PREREQ([2.62])
-AC_REVISION([$Id: configure.ac 924 2017-02-19 20:52:28Z des $])
-AC_INIT([OpenPAM], [20170219], [des at des.no], [openpam], [http://www.openpam.org/])
+AC_REVISION([$OpenPAM: configure.ac 939 2017-04-30 21:36:50Z des $])
+AC_INIT([OpenPAM], [20170430], [des at des.no], [openpam], [http://www.openpam.org/])
AC_CONFIG_SRCDIR([lib/libpam/pam_start.c])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign])
Modified: head/contrib/openpam/doc/Makefile.am
==============================================================================
--- head/contrib/openpam/doc/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/Makefile.in
==============================================================================
--- head/contrib/openpam/doc/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -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 \
Modified: head/contrib/openpam/doc/man/Makefile.am
==============================================================================
--- head/contrib/openpam/doc/man/Makefile.am Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/Makefile.am Fri May 5 13:31:25 2017 (r317827)
@@ -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 =
Modified: head/contrib/openpam/doc/man/Makefile.in
==============================================================================
--- head/contrib/openpam/doc/man/Makefile.in Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/Makefile.in Fri May 5 13:31:25 2017 (r317827)
@@ -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; \
Modified: head/contrib/openpam/doc/man/openpam.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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.
Modified: head/contrib/openpam/doc/man/openpam.man
==============================================================================
--- head/contrib/openpam/doc/man/openpam.man Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam.man Fri May 5 13:31:25 2017 (r317827)
@@ -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.
Modified: head/contrib/openpam/doc/man/openpam_borrow_cred.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_borrow_cred.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_borrow_cred.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_free_data.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_free_data.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_free_data.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_free_envlist.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_free_envlist.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_free_envlist.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_get_feature.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_get_feature.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_get_feature.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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 ,
Modified: head/contrib/openpam/doc/man/openpam_get_option.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_get_option.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_get_option.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_log.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_log.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_log.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_nullconv.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_nullconv.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_nullconv.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_readline.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_readline.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_readline.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_readlinev.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_readlinev.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_readlinev.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_readword.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_readword.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_readword.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_restore_cred.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_restore_cred.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_restore_cred.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_set_feature.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_set_feature.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_set_feature.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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 ,
Modified: head/contrib/openpam/doc/man/openpam_set_option.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_set_option.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_set_option.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_straddch.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_straddch.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_straddch.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_subst.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_subst.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_subst.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/openpam_ttyconv.3
==============================================================================
--- head/contrib/openpam/doc/man/openpam_ttyconv.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/openpam_ttyconv.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam.3
==============================================================================
--- head/contrib/openpam/doc/man/pam.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam.conf.5
==============================================================================
--- head/contrib/openpam/doc/man/pam.conf.5 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam.conf.5 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam.man
==============================================================================
--- head/contrib/openpam/doc/man/pam.man Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam.man Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_acct_mgmt.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_acct_mgmt.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_acct_mgmt.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_authenticate.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_authenticate.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_authenticate.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
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
Modified: head/contrib/openpam/doc/man/pam_chauthtok.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_chauthtok.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_chauthtok.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
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
Modified: head/contrib/openpam/doc/man/pam_close_session.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_close_session.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_close_session.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_conv.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_conv.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_conv.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_end.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_end.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_end.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_error.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_error.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_error.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_get_authtok.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_get_authtok.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_get_authtok.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_get_data.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_get_data.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_get_data.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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
Modified: head/contrib/openpam/doc/man/pam_get_item.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_get_item.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_get_item.3 Fri May 5 13:31:25 2017 (r317827)
@@ -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 ,
Modified: head/contrib/openpam/doc/man/pam_get_user.3
==============================================================================
--- head/contrib/openpam/doc/man/pam_get_user.3 Fri May 5 13:23:23 2017 (r317826)
+++ head/contrib/openpam/doc/man/pam_get_user.3 Fri May 5 13:31:25 2017 (r317827)
@@ -1,6 +1,6 @@
.\" Generated from pam_get_user.c by gendoc.pl
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-head
mailing list