Module Name: src Committed By: christos Date: Sat May 6 19:32:40 UTC 2017
Update of /cvsroot/src/external/bsd/openpam/dist In directory ivanova.netbsd.org:/tmp/cvs-serv7673 Log Message: 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 pam_get_user(3) from using application-provided custom prompts. - BUGFIX: Plug a memory leak in pam_set_item(3). - BUGFIX: Plug a potential memory leak in openpam_readlinev(3). - BUGFIX: In openpam_readword(3), support line continuations within whitespace. - ENHANCE: Add a feature flag to control fallback to "other" policy. - ENHANCE: Add a pam_return(8) module which returns an arbitrary code specified in the module options. - ENHANCE: More and better unit tests. Status: Vendor Tag: OPENPAM Release Tags: resedacea-20170430 U src/external/bsd/openpam/dist/config.h.in U src/external/bsd/openpam/dist/LICENSE C src/external/bsd/openpam/dist/config.sub U src/external/bsd/openpam/dist/INSTALL U src/external/bsd/openpam/dist/configure U src/external/bsd/openpam/dist/configure.ac U src/external/bsd/openpam/dist/autogen.sh U src/external/bsd/openpam/dist/ltmain.sh U src/external/bsd/openpam/dist/CREDITS U src/external/bsd/openpam/dist/Makefile.in U src/external/bsd/openpam/dist/mkpkgng.in U src/external/bsd/openpam/dist/install-sh C src/external/bsd/openpam/dist/config.guess U src/external/bsd/openpam/dist/RELNOTES U src/external/bsd/openpam/dist/depcomp U src/external/bsd/openpam/dist/missing U src/external/bsd/openpam/dist/README U src/external/bsd/openpam/dist/aclocal.m4 U src/external/bsd/openpam/dist/test-driver U src/external/bsd/openpam/dist/HISTORY U src/external/bsd/openpam/dist/Makefile.am U src/external/bsd/openpam/dist/TODO U src/external/bsd/openpam/dist/compile U src/external/bsd/openpam/dist/doc/Makefile.am U src/external/bsd/openpam/dist/doc/Makefile.in C src/external/bsd/openpam/dist/doc/man/openpam_restore_cred.3 C src/external/bsd/openpam/dist/doc/man/pam_get_authtok.3 C src/external/bsd/openpam/dist/doc/man/pam_error.3 C src/external/bsd/openpam/dist/doc/man/pam_setcred.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_acct_mgmt.3 C src/external/bsd/openpam/dist/doc/man/pam_getenvlist.3 C src/external/bsd/openpam/dist/doc/man/openpam_log.3 C src/external/bsd/openpam/dist/doc/man/pam_info.3 C src/external/bsd/openpam/dist/doc/man/pam_getenv.3 C src/external/bsd/openpam/dist/doc/man/openpam_free_data.3 C src/external/bsd/openpam/dist/doc/man/openpam_get_option.3 U src/external/bsd/openpam/dist/doc/man/Makefile.in U src/external/bsd/openpam/dist/doc/man/pam.man C src/external/bsd/openpam/dist/doc/man/pam_vprompt.3 C src/external/bsd/openpam/dist/doc/man/pam.3 C src/external/bsd/openpam/dist/doc/man/openpam_get_feature.3 C src/external/bsd/openpam/dist/doc/man/openpam.3 C src/external/bsd/openpam/dist/doc/man/openpam_borrow_cred.3 C src/external/bsd/openpam/dist/doc/man/openpam_set_option.3 C src/external/bsd/openpam/dist/doc/man/openpam_readlinev.3 C src/external/bsd/openpam/dist/doc/man/pam_chauthtok.3 C src/external/bsd/openpam/dist/doc/man/pam_prompt.3 U src/external/bsd/openpam/dist/doc/man/openpam.man C src/external/bsd/openpam/dist/doc/man/openpam_free_envlist.3 C src/external/bsd/openpam/dist/doc/man/openpam_ttyconv.3 C src/external/bsd/openpam/dist/doc/man/pam.conf.5 C src/external/bsd/openpam/dist/doc/man/pam_get_data.3 C src/external/bsd/openpam/dist/doc/man/pam_set_item.3 U src/external/bsd/openpam/dist/doc/man/Makefile.am C src/external/bsd/openpam/dist/doc/man/pam_end.3 C src/external/bsd/openpam/dist/doc/man/pam_start.3 C src/external/bsd/openpam/dist/doc/man/openpam_nullconv.3 C src/external/bsd/openpam/dist/doc/man/pam_get_user.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_chauthtok.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_authenticate.3 C src/external/bsd/openpam/dist/doc/man/openpam_set_feature.3 C src/external/bsd/openpam/dist/doc/man/openpam_readword.3 C src/external/bsd/openpam/dist/doc/man/pam_close_session.3 C src/external/bsd/openpam/dist/doc/man/pam_putenv.3 C src/external/bsd/openpam/dist/doc/man/pam_authenticate.3 C src/external/bsd/openpam/dist/doc/man/openpam_subst.3 C src/external/bsd/openpam/dist/doc/man/pam_vinfo.3 C src/external/bsd/openpam/dist/doc/man/pam_verror.3 C src/external/bsd/openpam/dist/doc/man/pam_acct_mgmt.3 C src/external/bsd/openpam/dist/doc/man/pam_open_session.3 C src/external/bsd/openpam/dist/doc/man/pam_setenv.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_open_session.3 C src/external/bsd/openpam/dist/doc/man/openpam_straddch.3 C src/external/bsd/openpam/dist/doc/man/pam_strerror.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_setcred.3 C src/external/bsd/openpam/dist/doc/man/pam_sm_close_session.3 C src/external/bsd/openpam/dist/doc/man/openpam_readline.3 C src/external/bsd/openpam/dist/doc/man/pam_conv.3 C src/external/bsd/openpam/dist/doc/man/pam_get_item.3 C src/external/bsd/openpam/dist/doc/man/pam_set_data.3 N src/external/bsd/openpam/dist/misc/coverage.sh.in C src/external/bsd/openpam/dist/misc/gendoc.pl N src/external/bsd/openpam/dist/misc/coverity.sh.in N src/external/bsd/openpam/dist/misc/Makefile.am N src/external/bsd/openpam/dist/misc/Makefile.in C src/external/bsd/openpam/dist/t/t_openpam_readlinev.c C src/external/bsd/openpam/dist/t/t_openpam_readword.c N src/external/bsd/openpam/dist/t/t_pam_conv.h U src/external/bsd/openpam/dist/t/t_openpam_ctype.c U src/external/bsd/openpam/dist/t/Makefile.in N src/external/bsd/openpam/dist/t/t_pam_conv.c U src/external/bsd/openpam/dist/t/Makefile.am N src/external/bsd/openpam/dist/t/t_openpam_dispatch.c U src/external/bsd/openpam/dist/lib/Makefile.in U src/external/bsd/openpam/dist/lib/Makefile.am C src/external/bsd/openpam/dist/lib/libpam/openpam_check_owner_perms.c C src/external/bsd/openpam/dist/lib/libpam/openpam_ttyconv.c C src/external/bsd/openpam/dist/lib/libpam/openpam_free_data.c C src/external/bsd/openpam/dist/lib/libpam/openpam_cred.h C src/external/bsd/openpam/dist/lib/libpam/openpam_restore_cred.c C src/external/bsd/openpam/dist/lib/libpam/openpam_strlcat.h C src/external/bsd/openpam/dist/lib/libpam/openpam_load.c C src/external/bsd/openpam/dist/lib/libpam/pam_getenv.c C src/external/bsd/openpam/dist/lib/libpam/openpam_subst.c C src/external/bsd/openpam/dist/lib/libpam/openpam_log.c C src/external/bsd/openpam/dist/lib/libpam/openpam_features.c C src/external/bsd/openpam/dist/lib/libpam/pam_authenticate_secondary.c C src/external/bsd/openpam/dist/lib/libpam/openpam_configure.c C src/external/bsd/openpam/dist/lib/libpam/openpam_dispatch.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_get_mapped_username.c C src/external/bsd/openpam/dist/lib/libpam/openpam_get_feature.c C src/external/bsd/openpam/dist/lib/libpam/pam_vinfo.c C src/external/bsd/openpam/dist/lib/libpam/openpam_set_option.c C src/external/bsd/openpam/dist/lib/libpam/pam_get_mapped_username.c C src/external/bsd/openpam/dist/lib/libpam/openpam_borrow_cred.c C src/external/bsd/openpam/dist/lib/libpam/pam_setcred.c C src/external/bsd/openpam/dist/lib/libpam/openpam_asprintf.c C src/external/bsd/openpam/dist/lib/libpam/openpam_vasprintf.h C src/external/bsd/openpam/dist/lib/libpam/pam_sm_get_mapped_authtok.c C src/external/bsd/openpam/dist/lib/libpam/openpam_get_option.c C src/external/bsd/openpam/dist/lib/libpam/openpam_dynamic.c C src/external/bsd/openpam/dist/lib/libpam/openpam_findenv.c C src/external/bsd/openpam/dist/lib/libpam/openpam_debug.h C src/external/bsd/openpam/dist/lib/libpam/pam_sm_acct_mgmt.c C src/external/bsd/openpam/dist/lib/libpam/openpam_impl.h C src/external/bsd/openpam/dist/lib/libpam/openpam_strlcpy.c C src/external/bsd/openpam/dist/lib/libpam/pam_get_data.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_authenticate_secondary.c C src/external/bsd/openpam/dist/lib/libpam/pam_set_item.c C src/external/bsd/openpam/dist/lib/libpam/pam_get_mapped_authtok.c C src/external/bsd/openpam/dist/lib/libpam/pam_getenvlist.c C src/external/bsd/openpam/dist/lib/libpam/pam_prompt.c C src/external/bsd/openpam/dist/lib/libpam/pam_get_authtok.c C src/external/bsd/openpam/dist/lib/libpam/pam_acct_mgmt.c C src/external/bsd/openpam/dist/lib/libpam/pam_start.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_set_mapped_authtok.c C src/external/bsd/openpam/dist/lib/libpam/pam_set_mapped_authtok.c C src/external/bsd/openpam/dist/lib/libpam/openpam_strlcmp.h C src/external/bsd/openpam/dist/lib/libpam/openpam_free_envlist.c C src/external/bsd/openpam/dist/lib/libpam/openpam_constants.c C src/external/bsd/openpam/dist/lib/libpam/openpam_readlinev.c C src/external/bsd/openpam/dist/lib/libpam/openpam_features.h C src/external/bsd/openpam/dist/lib/libpam/openpam_strlset.c C src/external/bsd/openpam/dist/lib/libpam/pam_close_session.c C src/external/bsd/openpam/dist/lib/libpam/openpam_ctype.h C src/external/bsd/openpam/dist/lib/libpam/openpam_straddch.c U src/external/bsd/openpam/dist/lib/libpam/Makefile.am C src/external/bsd/openpam/dist/lib/libpam/pam_putenv.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_set_mapped_username.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_open_session.c C src/external/bsd/openpam/dist/lib/libpam/pam_open_session.c C src/external/bsd/openpam/dist/lib/libpam/pam_vprompt.c C src/external/bsd/openpam/dist/lib/libpam/openpam_strlcat.c C src/external/bsd/openpam/dist/lib/libpam/openpam_set_feature.c C src/external/bsd/openpam/dist/lib/libpam/openpam_readline.c C src/external/bsd/openpam/dist/lib/libpam/pam_end.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_setcred.c C src/external/bsd/openpam/dist/lib/libpam/openpam_readword.c C src/external/bsd/openpam/dist/lib/libpam/openpam_dlfunc.h C src/external/bsd/openpam/dist/lib/libpam/pam_get_user.c C src/external/bsd/openpam/dist/lib/libpam/openpam_static.c C src/external/bsd/openpam/dist/lib/libpam/pam_set_mapped_username.c C src/external/bsd/openpam/dist/lib/libpam/openpam_constants.h C src/external/bsd/openpam/dist/lib/libpam/openpam_strlcpy.h U src/external/bsd/openpam/dist/lib/libpam/Makefile.in C src/external/bsd/openpam/dist/lib/libpam/pam_sm_chauthtok.c C src/external/bsd/openpam/dist/lib/libpam/openpam_strlset.h C src/external/bsd/openpam/dist/lib/libpam/pam_get_item.c C src/external/bsd/openpam/dist/lib/libpam/pam_set_data.c C src/external/bsd/openpam/dist/lib/libpam/openpam_nullconv.c C src/external/bsd/openpam/dist/lib/libpam/pam_info.c C src/external/bsd/openpam/dist/lib/libpam/pam_error.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_close_session.c C src/external/bsd/openpam/dist/lib/libpam/openpam_asprintf.h C src/external/bsd/openpam/dist/lib/libpam/pam_strerror.c C src/external/bsd/openpam/dist/lib/libpam/pam_chauthtok.c C src/external/bsd/openpam/dist/lib/libpam/pam_sm_authenticate.c C src/external/bsd/openpam/dist/lib/libpam/openpam_vasprintf.c C src/external/bsd/openpam/dist/lib/libpam/pam_setenv.c C src/external/bsd/openpam/dist/lib/libpam/pam_authenticate.c C src/external/bsd/openpam/dist/lib/libpam/pam_verror.c C src/external/bsd/openpam/dist/m4/lt~obsolete.m4 C src/external/bsd/openpam/dist/m4/libtool.m4 C src/external/bsd/openpam/dist/m4/ltoptions.m4 C src/external/bsd/openpam/dist/m4/ltsugar.m4 C src/external/bsd/openpam/dist/m4/ltversion.m4 U src/external/bsd/openpam/dist/modules/Makefile.in U src/external/bsd/openpam/dist/modules/Makefile.am U src/external/bsd/openpam/dist/modules/pam_unix/Makefile.in C src/external/bsd/openpam/dist/modules/pam_unix/pam_unix.c U src/external/bsd/openpam/dist/modules/pam_unix/Makefile.am N src/external/bsd/openpam/dist/modules/pam_return/pam_return.c N src/external/bsd/openpam/dist/modules/pam_return/Makefile.in N src/external/bsd/openpam/dist/modules/pam_return/Makefile.am U src/external/bsd/openpam/dist/modules/pam_deny/Makefile.am U src/external/bsd/openpam/dist/modules/pam_deny/Makefile.in C src/external/bsd/openpam/dist/modules/pam_deny/pam_deny.c C src/external/bsd/openpam/dist/modules/pam_permit/pam_permit.c U src/external/bsd/openpam/dist/modules/pam_permit/Makefile.am U src/external/bsd/openpam/dist/modules/pam_permit/Makefile.in U src/external/bsd/openpam/dist/include/Makefile.in U src/external/bsd/openpam/dist/include/Makefile.am C src/external/bsd/openpam/dist/include/security/openpam_version.h C src/external/bsd/openpam/dist/include/security/pam_appl.h U src/external/bsd/openpam/dist/include/security/Makefile.in C src/external/bsd/openpam/dist/include/security/pam_constants.h U src/external/bsd/openpam/dist/include/security/Makefile.am C src/external/bsd/openpam/dist/include/security/openpam_attr.h C src/external/bsd/openpam/dist/include/security/openpam.h C src/external/bsd/openpam/dist/include/security/pam_types.h C src/external/bsd/openpam/dist/include/security/pam_modules.h U src/external/bsd/openpam/dist/bin/Makefile.am U src/external/bsd/openpam/dist/bin/Makefile.in C src/external/bsd/openpam/dist/bin/pamtest/pamtest.1 U src/external/bsd/openpam/dist/bin/pamtest/Makefile.in C src/external/bsd/openpam/dist/bin/pamtest/pamtest.c U src/external/bsd/openpam/dist/bin/pamtest/Makefile.am U src/external/bsd/openpam/dist/bin/openpam_dump_policy/openpam_dump_policy.c U src/external/bsd/openpam/dist/bin/openpam_dump_policy/Makefile.am U src/external/bsd/openpam/dist/bin/openpam_dump_policy/Makefile.in U src/external/bsd/openpam/dist/bin/su/Makefile.in C src/external/bsd/openpam/dist/bin/su/su.1 U src/external/bsd/openpam/dist/bin/su/Makefile.am C src/external/bsd/openpam/dist/bin/su/su.c 159 conflicts created by this import. Use the following command to help the merge: cvs checkout -jOPENPAM:yesterday -jOPENPAM src/external/bsd/openpam/dist