Blame ChangeLog

Packit Service b29381
2018-05-18  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Release version 1.3.1.
Packit Service b29381
Packit Service b29381
	Add xz compression.
Packit Service b29381
Packit Service b29381
2018-05-16  Allison Karlitskaya  <allison.karlitskaya@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_motd: add support for a motd.d directory (#48)
Packit Service b29381
	Add a new feature to pam_motd to allow packages to install their own
Packit Service b29381
	message files in a "motd.d" directory, to be displayed after the primary
Packit Service b29381
	motd.
Packit Service b29381
	
Packit Service b29381
	Add an option motd_d= to specify the location of this directory.
Packit Service b29381
	
Packit Service b29381
	Modify the defaults, in the case where no options are given, to display
Packit Service b29381
	both /etc/motd and /etc/motd.d.
Packit Service b29381
	
Packit Service b29381
	Fixes #47
Packit Service b29381
	
Packit Service b29381
	 * modules/pam_motd/pam_motd.c: add support for motd.d
Packit Service b29381
	 * modules/pam_motd/pam_motd.8.xml: update the manpage
Packit Service b29381
Packit Service b29381
2018-05-02  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_umask: Fix documentation to align with order of loading umask.
Packit Service b29381
	* modules/pam_umask/pam_umask.8.xml: Document the real order of loading
Packit Service b29381
	umask.
Packit Service b29381
Packit Service b29381
2018-04-10  Joey Chagnon  <joeychagnon@users.noreply.github.com>
Packit Service b29381
Packit Service b29381
	Fix missing word in documentation.
Packit Service b29381
	*  doc/man/pam_get_user.3.xml: Fix it.
Packit Service b29381
Packit Service b29381
2017-11-10  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_tally2 --reset: avoid creating a missing tallylog file.
Packit Service b29381
	There is no need for pam_tally2 in --reset=0 mode to create a missing
Packit Service b29381
	tallylog file because its absence has the same meaning as its existence
Packit Service b29381
	with the appropriate entry reset.
Packit Service b29381
Packit Service b29381
	This was not a big deal until useradd(8) from shadow suite release 4.5
Packit Service b29381
	started to invoke /sbin/pam_tally2 --reset routinely regardless of PAM
Packit Service b29381
	configuration.
Packit Service b29381
Packit Service b29381
	The positive effect of this change is noticeable when using tools like
Packit Service b29381
	cpio(1) that cannot archive huge sparse files efficiently.
Packit Service b29381
Packit Service b29381
	* modules/pam_tally2/pam_tally2.c [MAIN] (main) <cline_user>: Stat
Packit Service b29381
	cline_filename when cline_reset == 0, exit early if the file is missing.
Packit Service b29381
Packit Service b29381
2017-11-10  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_mkhomedir: Allow creating parent of homedir under /
Packit Service b29381
	* modules/pam_mkhomedir/mkhomedir_helper.c (make_parent_dirs): Do not
Packit Service b29381
	skip creating the directory if we are under /.
Packit Service b29381
Packit Service b29381
2017-10-09  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_tty_audit: Fix regression introduced by adding the uid range support.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.c (parse_uid_range): Fix constification and
Packit Service b29381
	remove unneeded code carried from pam_limits.
Packit Service b29381
	(pam_sm_open_session): When multiple enable/disable options are present do not
Packit Service b29381
	stop after first match.
Packit Service b29381
Packit Service b29381
2017-09-06  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_access: Add note about spaces around ':' in access.conf(5)
Packit Service b29381
	* modules/pam_access/access.conf.5.xml: Add note about spaces around ':'
Packit Service b29381
Packit Service b29381
	Workaround formatting problem in pam(8)
Packit Service b29381
	* doc/man/pam.8.xml: Workaround formatting problem.
Packit Service b29381
Packit Service b29381
2017-07-12  Peter Urbanec  <peterurbanec@users.noreply.github.com>
Packit Service b29381
Packit Service b29381
	pam_unix: Check return value of malloc used for setcred data (#24)
Packit Service b29381
	Check the return value of malloc and if it failed print debug info, send
Packit Service b29381
	a syslog message and return an error code.
Packit Service b29381
	
Packit Service b29381
	The test in AUTH_RETURN for ret_data not being NULL becomes redundant.
Packit Service b29381
Packit Service b29381
2017-07-10  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_cracklib: Drop unused prompt macros.
Packit Service b29381
	* modules/pam_cracklib/pam_cracklib.c: Drop the unused macros.
Packit Service b29381
Packit Service b29381
2017-06-28  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_tty_audit: Support matching users by uid range.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.c (parse_uid_range): New function to
Packit Service b29381
	parse the uid range.
Packit Service b29381
	(pam_sm_open_session): Call parse_uid_range() and behave according to its result.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.8.xml: Document the uid range matching.
Packit Service b29381
Packit Service b29381
2017-05-31  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_access: support parsing files in /etc/security/access.d/*.conf.
Packit Service b29381
	* modules/pam_access/pam_access.c (login_access): Return NOMATCH if
Packit Service b29381
	there was no match in the parsed file.
Packit Service b29381
	(pam_sm_authenticate): Add glob() call to go through the ACCESS_CONF_GLOB
Packit Service b29381
	subdirectory and call login_access() on the individual files matched.
Packit Service b29381
	* modules/pam_access/pam_access.8.xml: Document the addition.
Packit Service b29381
	* modules/pam_access/Makefile.am: Add ACCESS_CONF_GLOB definition.
Packit Service b29381
Packit Service b29381
2017-04-11  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_localuser: Correct the example in documentation.
Packit Service b29381
	* modules/pam_localuser/pam_localuser.8.xml: The example configuration
Packit Service b29381
	  does something different.
Packit Service b29381
Packit Service b29381
	pam_localuser: Correct documentation of return value.
Packit Service b29381
	* modules/pam_localuser/pam_localuser.8.xml: The module returns
Packit Service b29381
	  PAM_PERM_DENIED when the user is not listed.
Packit Service b29381
Packit Service b29381
2017-03-10  Saul Johnson  <saul.a.johnson@gmail.com>
Packit Service b29381
Packit Service b29381
	Make maxclassrepeat=1 behavior consistent with docs (#9)
Packit Service b29381
	* modules/pam_cracklib/pam_cracklib.c (simple): Apply the maxclassrepeat when greater than 0.
Packit Service b29381
Packit Service b29381
2017-02-09  Josef Moellers  <jmoellers@suse.de>
Packit Service b29381
Packit Service b29381
	Properly test for strtol() failure to find any digits.
Packit Service b29381
	* modules/pam_access/pam_access.c (network_netmask_match): Test for endptr set
Packit Service b29381
	to beginning and not NULL.
Packit Service b29381
Packit Service b29381
2017-01-19  Daniel Abrecht  <daniel.abrecht@hotmail.com>
Packit Service b29381
Packit Service b29381
	pam_exec: fix a potential null pointer dereference.
Packit Service b29381
	Fix a null pointer dereference when pam_prompt returns PAM_SUCCESS
Packit Service b29381
	but the response is set to NULL.
Packit Service b29381
Packit Service b29381
	* modules/pam_exec/pam_exec.c (call_exec): Do not invoke strndupa
Packit Service b29381
	with a null pointer.
Packit Service b29381
Packit Service b29381
	Closes: https://github.com/linux-pam/linux-pam/pull/2
Packit Service b29381
Packit Service b29381
2016-12-07  Antonio Ospite  <ao2@ao2.it>
Packit Service b29381
Packit Service b29381
	Add missing comma in the limits.conf.5 manpage.
Packit Service b29381
	* modules/pam_limits/limits.conf.5.xml: add a missing comma
Packit Service b29381
Packit Service b29381
2016-11-14  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Regular links doesn't work with -no-numbering -no-references.
Packit Service b29381
	* configure.ac: Use elinks instead of links.
Packit Service b29381
Packit Service b29381
2016-11-01  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_access: First check for the (group) match.
Packit Service b29381
	The (group) match is performed first to allow for groups
Packit Service b29381
	containing '@'.
Packit Service b29381
Packit Service b29381
	* modules/pam_access/pam_access.c (user_match): First check for the (group) match.
Packit Service b29381
Packit Service b29381
2016-10-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_ftp: Properly use the first name from the supplied list.
Packit Service b29381
	* modules/pam_ftp/pam_ftp.c (lookup): Return first user from the list
Packit Service b29381
	of anonymous users if user name matches.
Packit Service b29381
	(pam_sm_authenticate): Free the returned value allocated in lookup().
Packit Service b29381
Packit Service b29381
2016-09-12  Bartos-Elekes Zsolt  <muszi@kite.hu>
Packit Service b29381
Packit Service b29381
	pam_issue: Fix no prompting in parse escape codes mode.
Packit Service b29381
	* modules/pam_issue/pam_issue.c (read_issue_quoted): Fix misplaced strcat().
Packit Service b29381
Packit Service b29381
2016-06-30  Maxin B. John  <maxin.john@intel.com>
Packit Service b29381
Packit Service b29381
	xtests: remove bash dependency.
Packit Service b29381
	There are no bash specific syntax in the xtest scripts. So, remove
Packit Service b29381
	the bash dependency.
Packit Service b29381
Packit Service b29381
2016-06-30  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Unification and cleanup of syslog log levels.
Packit Service b29381
	* libpam/pam_handlers.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* libpam/pam_modutil_priv.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_echo/pam_echo.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_env/pam_env.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_exec/pam_exec.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_filter/pam_filter.c: Make all non-memory call errors LOG_ERR.
Packit Service b29381
	* modules/pam_group/pam_group.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_issue/pam_issue.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.c: The lastlog file creation is syslogged
Packit Service b29381
	  with LOG_NOTICE, memory allocation errors with LOG_CRIT, other errors
Packit Service b29381
	  with LOG_ERR.
Packit Service b29381
	* modules/pam_limits/pam_limits.c: User login limit messages are syslogged
Packit Service b29381
	  with LOG_NOTICE, stale utmp entry with LOG_INFO, non-memory errors with
Packit Service b29381
	  LOG_ERR.
Packit Service b29381
	* modules/pam_listfile/pam_listfile.c: Rejection of user is syslogged
Packit Service b29381
	  with LOG_NOTICE.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.c: Make memory allocation failures
Packit Service b29381
	  LOG_CRIT.
Packit Service b29381
	* modules/pam_nologin/pam_nologin.c: Make memory allocation failures
Packit Service b29381
	  LOG_CRIT, other errors LOG_ERR.
Packit Service b29381
	* modules/pam_securetty/pam_securetty.c: Rejection of access is syslogged
Packit Service b29381
	  with LOG_NOTICE, non-memory errors with LOG_ERR.
Packit Service b29381
	* modules/pam_selinux/pam_selinux.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_succeed_if/pam_succeed_if.c: Make all non-memory call errors
Packit Service b29381
	  LOG_ERR.
Packit Service b29381
	* modules/pam_time/pam_time.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.c: Make memory allocation failures
Packit Service b29381
	  LOG_CRIT.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c: Make all non-memory call errors LOG_ERR.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: Make memory allocation failures LOG_CRIT,
Packit Service b29381
	  other errors LOG_ERR.
Packit Service b29381
	* modules/pam_unix/pam_unix_sess.c: Make all non-memory call errors LOG_ERR.
Packit Service b29381
	* modules/pam_unix/passverify.c: Unknown user is syslogged with LOG_NOTICE.
Packit Service b29381
	* modules/pam_unix/support.c: Unknown user is syslogged with LOG_NOTICE and
Packit Service b29381
	  max retries ignorance by application likewise.
Packit Service b29381
	* modules/pam_unix/unix_chkpwd.c: Make all non-memory call errors LOG_ERR.
Packit Service b29381
	* modules/pam_userdb/pam_userdb.c: Password authentication error is syslogged
Packit Service b29381
	  with LOG_NOTICE.
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c: Make memory allocation failures LOG_CRIT.
Packit Service b29381
Packit Service b29381
2016-06-15  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_timestamp: fix typo in strncmp usage.
Packit Service b29381
	Before this fix, a typo in check_login_time resulted to ruser and
Packit Service b29381
	struct utmp.ut_user being compared by the first character only,
Packit Service b29381
	which in turn could lead to a too low timestamp value being assigned
Packit Service b29381
	to oldest_login, effectively causing bypass of check_login_time.
Packit Service b29381
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.c (check_login_time): Fix typo
Packit Service b29381
	in strncmp usage.
Packit Service b29381
Packit Service b29381
	Patch-by: Anton V. Boyarshinov <boyarsh@altlinux.org>
Packit Service b29381
Packit Service b29381
2016-05-30  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Correct the examples in pam_fail_delay(3) man page.
Packit Service b29381
	doc/man/pam_fail_delay.3.xml: Correct the examples.
Packit Service b29381
Packit Service b29381
2016-05-11  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Remove spaces in examples for access.conf.
Packit Service b29381
	The spaces are ignored only with the default listsep. To remove confusion
Packit Service b29381
	if non-default listsep is used they are removed from the examples.
Packit Service b29381
Packit Service b29381
	* modules/pam_access/access.conf: Remove all spaces around ':' in examples.
Packit Service b29381
	* modules/pam_access/access.conf.5.xml: Likewise.
Packit Service b29381
Packit Service b29381
2016-05-05  Mike Frysinger  <vapier@gentoo.org>
Packit Service b29381
Packit Service b29381
	build: avoid non-portable == with "test" (ticket #60)
Packit Service b29381
	POSIX says test only accepts =. Some shells (including bash) accept ==,
Packit Service b29381
	but we should still stick to = for portability.
Packit Service b29381
Packit Service b29381
	* configure.ac: Replace == with = in "test" invocations.
Packit Service b29381
Packit Service b29381
2016-04-28  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Release version 1.3.0.
Packit Service b29381
	* NEWS: add changes for 1.3.0.
Packit Service b29381
	* configure.ac: bump version number.
Packit Service b29381
	* libpam/Makefile.am: bump revision of libpam.so version.
Packit Service b29381
Packit Service b29381
2016-04-28  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Updated translations from Zanata.
Packit Service b29381
	* po/*.po: Updated translations from Zanata.
Packit Service b29381
Packit Service b29381
2016-04-19  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_wheel: Correct the documentation of the root_only option.
Packit Service b29381
	* modules/pam_wheel/pam_wheel.8.xml: Correct the documentation of the
Packit Service b29381
	root_only option.
Packit Service b29381
Packit Service b29381
	pam_unix: Document that MD5 password hash is used to store old passwords.
Packit Service b29381
	modules/pam_unix/pam_unix.8.xml: Document that the MD5 password hash is used
Packit Service b29381
	to store the old passwords when remember option is set.
Packit Service b29381
Packit Service b29381
2016-04-14  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Project registered at Zanata (fedora.zanata.org) for translations.
Packit Service b29381
	* zanata.xml: Configuration file for zanata client.
Packit Service b29381
	* po/LINGUAS: Update languages as supported by Zanata.
Packit Service b29381
	* po/Linux-PAM.pot: Updated from sources.
Packit Service b29381
	* po/*.po: Updated from sources.
Packit Service b29381
Packit Service b29381
2016-04-06  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_unix: Use pam_get_authtok() instead of direct pam_prompt() calls.
Packit Service b29381
	We have to drop support for not_set_pass option which is not much useful
Packit Service b29381
	anyway. Instead we get proper support for authtok_type option.
Packit Service b29381
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: Removed not_set_pass option, added authtok_ty
Packit Service b29381
	pe
Packit Service b29381
	option.
Packit Service b29381
	* modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Replace _unix_read_pas
Packit Service b29381
	sword()
Packit Service b29381
	call with equivalent pam_get_authtok() call.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Likewise and also drop
Packit Service b29381
	support for not_set_pass.
Packit Service b29381
	* modules/pam_unix/support.c (_unix_read_password): Remove.
Packit Service b29381
	* modules/pam_unix/support.h: Remove UNIX_NOT_SET_PASS add UNIX_AUTHTOK_TYPE.
Packit Service b29381
Packit Service b29381
	pam_get_authtok(): Add authtok_type support to current password prompt.
Packit Service b29381
	* libpam/pam_get_authtok.c (pam_get_authtok_internal): When changing password,
Packit Service b29381
	use different prompt for current password allowing for authtok_type to be
Packit Service b29381
	displayed to the user.
Packit Service b29381
Packit Service b29381
2016-04-04  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_unix: Make password expiration messages more user-friendly.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Make password
Packit Service b29381
	expiration messages more user-friendly.
Packit Service b29381
Packit Service b29381
2016-04-04  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	innetgr may not be there so make sure that when innetgr is not present then we inform about it and not use it. [ticket#46]
Packit Service b29381
	* modules/pam_group/pam_group.c: ditto
Packit Service b29381
	* modules/pam_succeed_if/pam_succeed_if.c: ditto
Packit Service b29381
	* modules/pam_time/pam_time.c: ditto
Packit Service b29381
Packit Service b29381
	build: fix build when crypt() is not part of crypt_libs [ticket#46]
Packit Service b29381
	* configure.ac: Don't set empty -l option in crypt check
Packit Service b29381
Packit Service b29381
	build: use $host_cpu for lib64 directory handling [ticket#46]
Packit Service b29381
	* configure.ac: use $host_cpu for lib64 directory handling.
Packit Service b29381
Packit Service b29381
2016-04-01  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Fix whitespace issues.
Packit Service b29381
	Remove blank lines at EOF introduced by commit
Packit Service b29381
	a684595c0bbd88df71285f43fb27630e3829121e,
Packit Service b29381
	making the project free of warnings reported by
Packit Service b29381
	git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD
Packit Service b29381
Packit Service b29381
	* libpam/pam_dynamic.c: Remove blank line at EOF.
Packit Service b29381
	* modules/pam_echo/pam_echo.c: Likewise.
Packit Service b29381
	* modules/pam_keyinit/pam_keyinit.c: Likewise.
Packit Service b29381
	* modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
Packit Service b29381
	* modules/pam_pwhistory/pam_pwhistory.c: Likewise.
Packit Service b29381
	* modules/pam_rhosts/pam_rhosts.c: Likewise.
Packit Service b29381
	* modules/pam_sepermit/pam_sepermit.c: Likewise.
Packit Service b29381
	* modules/pam_stress/pam_stress.c: Likewise.
Packit Service b29381
Packit Service b29381
2016-04-01  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Use TI-RPC functions if we compile and link against libtirpc. The old SunRPC functions don't work with IPv6.
Packit Service b29381
	* configure.ac: Set and restore CPPFLAGS
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: Replace getrpcport with
Packit Service b29381
	  rpcb_getaddr if available.
Packit Service b29381
Packit Service b29381
2016-03-29  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	PAM_EXTERN isn't needed anymore, but don't remove it to not break lot of external code using it.
Packit Service b29381
	* libpam/include/security/pam_modules.h: Readd PAM_EXTERN for compatibility
Packit Service b29381
Packit Service b29381
	Remove "--enable-static-modules" option and support from  Linux-PAM. It was never official supported and was broken since years.
Packit Service b29381
	* configure.ac: Remove --enable-static-modules option.
Packit Service b29381
	* doc/man/pam_sm_acct_mgmt.3.xml: Remove PAM_EXTERN.
Packit Service b29381
	* doc/man/pam_sm_authenticate.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_sm_chauthtok.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_sm_close_session.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_sm_open_session.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_sm_setcred.3.xml: Likewise.
Packit Service b29381
	* libpam/Makefile.am: Remove STATIC_MODULES cases.
Packit Service b29381
	* libpam/include/security/pam_modules.h: Remove PAM_STATIC parts.
Packit Service b29381
	* libpam/pam_dynamic.c: Likewise.
Packit Service b29381
	* libpam/pam_handlers.c: Likewise.
Packit Service b29381
	* libpam/pam_private.h: Likewise.
Packit Service b29381
	* libpam/pam_static.c: Remove file.
Packit Service b29381
	* libpam/pam_static_modules.h: Remove header file.
Packit Service b29381
	* modules/pam_access/pam_access.c: Remove PAM_EXTERN and PAM_STATIC parts.
Packit Service b29381
	* modules/pam_cracklib/pam_cracklib.c: Likewise.
Packit Service b29381
	* modules/pam_debug/pam_debug.c: Likewise.
Packit Service b29381
	* modules/pam_deny/pam_deny.c: Likewise.
Packit Service b29381
	* modules/pam_echo/pam_echo.c: Likewise.
Packit Service b29381
	* modules/pam_env/pam_env.c: Likewise.
Packit Service b29381
	* modules/pam_exec/pam_exec.c: Likewise.
Packit Service b29381
	* modules/pam_faildelay/pam_faildelay.c: Likewise.
Packit Service b29381
	* modules/pam_filter/pam_filter.c: Likewise.
Packit Service b29381
	* modules/pam_ftp/pam_ftp.c: Likewise.
Packit Service b29381
	* modules/pam_group/pam_group.c: Likewise.
Packit Service b29381
	* modules/pam_issue/pam_issue.c: Likewise.
Packit Service b29381
	* modules/pam_keyinit/pam_keyinit.c: Likewise.
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.c: Likewise.
Packit Service b29381
	* modules/pam_limits/pam_limits.c: Likewise.
Packit Service b29381
	* modules/pam_listfile/pam_listfile.c: Likewise.
Packit Service b29381
	* modules/pam_localuser/pam_localuser.c: Likewise.
Packit Service b29381
	* modules/pam_loginuid/pam_loginuid.c: Likewise.
Packit Service b29381
	* modules/pam_mail/pam_mail.c: Likewise.
Packit Service b29381
	* modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
Packit Service b29381
	* modules/pam_motd/pam_motd.c: Likewise.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.c: Likewise.
Packit Service b29381
	* modules/pam_nologin/pam_nologin.c: Likewise.
Packit Service b29381
	* modules/pam_permit/pam_permit.c: Likewise.
Packit Service b29381
	* modules/pam_pwhistory/pam_pwhistory.c: Likewise.
Packit Service b29381
	* modules/pam_rhosts/pam_rhosts.c: Likewise.
Packit Service b29381
	* modules/pam_rootok/pam_rootok.c: Likewise.
Packit Service b29381
	* modules/pam_securetty/pam_securetty.c: Likewise.
Packit Service b29381
	* modules/pam_selinux/pam_selinux.c: Likewise.
Packit Service b29381
	* modules/pam_sepermit/pam_sepermit.c: Likewise.
Packit Service b29381
	* modules/pam_shells/pam_shells.c: Likewise.
Packit Service b29381
	* modules/pam_stress/pam_stress.c: Likewise.
Packit Service b29381
	* modules/pam_succeed_if/pam_succeed_if.c: Likewise.
Packit Service b29381
	* modules/pam_tally/pam_tally.c: Likewise.
Packit Service b29381
	* modules/pam_tally2/pam_tally2.c: Likewise.
Packit Service b29381
	* modules/pam_time/pam_time.c: Likewise.
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.c: Likewise.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.c: Likewise.
Packit Service b29381
	* modules/pam_umask/pam_umask.c: Likewise.
Packit Service b29381
	* modules/pam_userdb/pam_userdb.c: Likewise.
Packit Service b29381
	* modules/pam_warn/pam_warn.c: Likewise.
Packit Service b29381
	* modules/pam_wheel/pam_wheel.c: Likewise.
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c: Likewise.
Packit Service b29381
	* modules/pam_unix/Makefile.am: Remove STATIC_MODULES part.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c: Remove PAM_STATIC part.
Packit Service b29381
	* modules/pam_unix/pam_unix_auth.c: Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_sess.c: Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_static.c: Removed.
Packit Service b29381
	* modules/pam_unix/pam_unix_static.h: Removed.
Packit Service b29381
	* po/POTFILES.in: Remove removed files.
Packit Service b29381
	* tests/tst-dlopen.c: Remove PAM_STATIC part.
Packit Service b29381
Packit Service b29381
2016-03-24  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Fix check for libtirpc and enhance check for libnsl to include new libnsl.
Packit Service b29381
	* configure.ac: fix setting of CFLAGS/LIBS, enhance libnsl check
Packit Service b29381
	* modules/pam_unix/Makefile.am: replace NIS_* with TIRPC_* and NSL_*
Packit Service b29381
Packit Service b29381
2016-03-23  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Remove YP dependencies from pam_access, they were never used and such not needed.
Packit Service b29381
	* modules/pam_access/Makefile.am: Remove NIS_CFLAGS and NIS_LIBS
Packit Service b29381
	* modules/pam_access/pam_access.c: Remove yp_get_default_domain case,
Packit Service b29381
	  it will never be used.
Packit Service b29381
Packit Service b29381
2016-03-04  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add checks for localtime() returning NULL.
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.c (last_login_read): Check for localtime_r
Packit Service b29381
	returning NULL.
Packit Service b29381
	* modules/pam_tally2/pam_tally2.c (print_one): Check for localtime returning
Packit Service b29381
	NULL.
Packit Service b29381
Packit Service b29381
	pam_unix: Silence warnings and fix a minor bug.
Packit Service b29381
	Fixes a minor bug in behavior when is_selinux_enabled()
Packit Service b29381
	returned negative value.
Packit Service b29381
Packit Service b29381
	* modules/pam_unix/passverify.c: Add parentheses to SELINUX_ENABLED macro.
Packit Service b29381
	(unix_update_shadow): Safe cast forwho to non-const char *.
Packit Service b29381
	* modules/pam_unix/support.c: Remove unused SELINUX_ENABLED macro.
Packit Service b29381
Packit Service b29381
2016-02-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_env: Document the /etc/environment file.
Packit Service b29381
	* modules/pam_env/Makefile.am: Add the environment.5 soelim stub.
Packit Service b29381
	* modules/pam_env/pam_env.8.xml: Add environ(7) reference.
Packit Service b29381
	* modules/pam_env/pam_env.conf.5.xml: Add environment alias name.
Packit Service b29381
	Add a paragraph about /etc/environment. Add environ(7) reference.
Packit Service b29381
Packit Service b29381
	pam_unix: Add no_pass_expiry option to ignore password expiration.
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: Document the no_pass_expiry option.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): If no_pass_expiry
Packit Service b29381
	is on and return value data is not set to PAM_SUCCESS then ignore
Packit Service b29381
	PAM_NEW_AUTHTOK_REQD and PAM_AUTHTOK_EXPIRED returns.
Packit Service b29381
	* modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Always set the
Packit Service b29381
	return value data.
Packit Service b29381
	(pam_sm_setcred): Test for likeauth option and use the return value data
Packit Service b29381
	only if set.
Packit Service b29381
	* modules/pam_unix/support.h: Add the no_pass_expiry option.
Packit Service b29381
Packit Service b29381
2016-01-25  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_unix: Change the salt length for new hashes to 16 characters.
Packit Service b29381
	* modules/pam_unix/passverify.c (create_password_hash): Change the
Packit Service b29381
	salt length for new hashes to 16 characters.
Packit Service b29381
Packit Service b29381
2015-12-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Relax the conditions for fatal failure on auditing.
Packit Service b29381
	The PAM library calls will not fail anymore for any uid if the return
Packit Service b29381
	value from the libaudit call is -EPERM.
Packit Service b29381
Packit Service b29381
	* libpam/pam_audit.c (_pam_audit_writelog): Remove check for uid != 0.
Packit Service b29381
Packit Service b29381
2015-12-16  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_tally2: Optionally log the tally count when checking.
Packit Service b29381
	* modules/pam_tally2/pam_tally2.c (tally_parse_args): Add debug option.
Packit Service b29381
	(tally_check): Always log the tally count with debug option.
Packit Service b29381
Packit Service b29381
2015-10-02  Jakub Hrozek  <jakub.hrozek@posteo.se>
Packit Service b29381
Packit Service b29381
	Docfix: pam handle is const in pam_syslog() and pam_vsyslog()
Packit Service b29381
	* doc/man/pam_syslog.3.xml: Add const to pam handle in pam_syslog() and pam_vsyslog().
Packit Service b29381
Packit Service b29381
2015-09-24  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_loginuid: Add syslog message if required auditd is not detected.
Packit Service b29381
	* modules/pam_loginuid/pam_loginuid.c (_pam_loginuid): Add syslog message
Packit Service b29381
	if required auditd is not detected.
Packit Service b29381
Packit Service b29381
2015-09-04  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Allow links to be used instead of w3m for documentation regeneration.
Packit Service b29381
	* configure.ac: If w3m is not found check for links.
Packit Service b29381
Packit Service b29381
	Add missing space in pam_misc_setenv man page.
Packit Service b29381
	* doc/man/pam_misc_setenv.3.xml: Add a missing space.
Packit Service b29381
Packit Service b29381
2015-08-12  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_rootok: use rootok permission instead of passwd permission in SELinux check.
Packit Service b29381
	* modules/pam_rootok/pam_rootok.c (selinux_check_root): Use rootok instead of
Packit Service b29381
	passwd permission.
Packit Service b29381
Packit Service b29381
2015-08-05  Amarnath Valluri  <amarnath.valluri@intel.com>
Packit Service b29381
Packit Service b29381
	pam_timestamp: Avoid leaking file descriptor.
Packit Service b29381
	* modules/pam_timestamp/hmacsha1.c(hmac_key_create):
Packit Service b29381
	    close 'keyfd' when failed to own it.
Packit Service b29381
Packit Service b29381
2015-06-22  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Release version 1.2.1.
Packit Service b29381
	Security fix: CVE-2015-3238
Packit Service b29381
Packit Service b29381
	If the process executing pam_sm_authenticate or pam_sm_chauthtok method
Packit Service b29381
	of pam_unix is not privileged enough to check the password, e.g.
Packit Service b29381
	if selinux is enabled, the _unix_run_helper_binary function is called.
Packit Service b29381
	When a long enough password is supplied (16 pages or more, i.e. 65536+
Packit Service b29381
	bytes on a system with 4K pages), this helper function hangs
Packit Service b29381
	indefinitely, blocked in the write(2) call while writing to a blocking
Packit Service b29381
	pipe that has a limited capacity.
Packit Service b29381
	With this fix, the verifiable password length will be limited to
Packit Service b29381
	PAM_MAX_RESP_SIZE bytes (i.e. 512 bytes) for pam_exec and pam_unix.
Packit Service b29381
Packit Service b29381
	* NEWS: Update
Packit Service b29381
	* configure.ac: Bump version
Packit Service b29381
	* modules/pam_exec/pam_exec.8.xml: document limitation of password length
Packit Service b29381
	* modules/pam_exec/pam_exec.c: limit password length to PAM_MAX_RESP_SIZE
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: document limitation of password length
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: limit password length
Packit Service b29381
	* modules/pam_unix/passverify.c: Likewise
Packit Service b29381
	* modules/pam_unix/passverify.h: Likewise
Packit Service b29381
	* modules/pam_unix/support.c: Likewise
Packit Service b29381
Packit Service b29381
2015-04-27  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Update NEWS file.
Packit Service b29381
Packit Service b29381
	Release version 1.2.0.
Packit Service b29381
	* NEWS: Update
Packit Service b29381
	* configure.ac: Bump version
Packit Service b29381
	* libpam/Makefile.am: Bump version of libpam
Packit Service b29381
	* libpam_misc/Makefile.am: Bump version of libpam_misc
Packit Service b29381
	* po/*: Regenerate po files
Packit Service b29381
Packit Service b29381
	Fix some grammatical errors in documentation. Patch by Louis Sautier.
Packit Service b29381
	* doc/adg/Linux-PAM_ADG.xml: Fix gramatical errors.
Packit Service b29381
	* doc/man/pam.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_acct_mgmt.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_chauthtok.3.xml: Likewise.
Packit Service b29381
	* doc/man/pam_sm_chauthtok.3.xml: Likewise.
Packit Service b29381
	* modules/pam_limits/limits.conf.5.xml: Likewise.
Packit Service b29381
	* modules/pam_mail/pam_mail.8.xml: Likewise.
Packit Service b29381
	* modules/pam_rhosts/pam_rhosts.c: Likewise.
Packit Service b29381
	* modules/pam_shells/pam_shells.8.xml: Likewise.
Packit Service b29381
	* modules/pam_tally/pam_tally.8.xml: Likewise.
Packit Service b29381
	* modules/pam_tally2/pam_tally2.8.xml: Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: Likewise.
Packit Service b29381
Packit Service b29381
2015-04-23  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Add "quiet" option to pam_unix to suppress informential info messages from session.
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: Document new option.
Packit Service b29381
	* modules/pam_unix/support.h: Add quiet option.
Packit Service b29381
	* modules/pam_unix/pam_unix_sess.c: Don't print LOG_INFO messages if
Packit Service b29381
	 'quiet' option is set.
Packit Service b29381
Packit Service b29381
2015-04-07  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Use crypt_r if available in pam_userdb and in pam_unix.
Packit Service b29381
	* modules/pam_unix/passverify.c (create_password_hash): Call crypt_r()
Packit Service b29381
	instead of crypt() if available.
Packit Service b29381
	* modules/pam_userdb/pam_userdb.c (user_lookup): Call crypt_r()
Packit Service b29381
	instead of crypt() if available.
Packit Service b29381
Packit Service b29381
2015-03-25  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Support alternative "vendor configuration" files as fallback to /etc (Ticket#34, patch from ay Sievers <kay@vrfy.org>)
Packit Service b29381
	* doc/man/pam.8.xml: document additonal config directory
Packit Service b29381
	* libpam/pam_handlers.c: add /usr/lib/pam.d as config file fallback directory
Packit Service b29381
	* libpam/pam_private.h: adjust defines
Packit Service b29381
Packit Service b29381
	pam_env: expand @{HOME} and @{SHELL} and enhance documentation (Ticket#24 and #29)
Packit Service b29381
	* modules/pam_env/pam_env.c: Replace @{HOME} and @{SHELL} with passwd entries
Packit Service b29381
	* modules/pam_env/pam_env.conf.5.xml: Document @{HOME} and @{SHELL}
Packit Service b29381
	* modules/pam_env/pam_env.8.xml: Enhance documentation
Packit Service b29381
Packit Service b29381
2015-03-24  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Clarify pam_access docs re PAM service names and X $DISPLAY value testing. (Ticket #39)
Packit Service b29381
	* modules/pam_access/access.conf.5.xml
Packit Service b29381
	* modules/pam_access/pam_access.8.xml
Packit Service b29381
Packit Service b29381
	Don't use sudo directory, the timestamp format is different (Ticket#32)
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.c: Change default timestamp directory.
Packit Service b29381
Packit Service b29381
	Enhance group.conf examples (Ticket#35)
Packit Service b29381
	* modules/pam_group/group.conf.5.xml: Enhance example by logic group entry.
Packit Service b29381
Packit Service b29381
	Document timestampdir option (Ticket#33)
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.8.xml: Add timestampdir option.
Packit Service b29381
Packit Service b29381
	Adjust documentation (Ticket#36)
Packit Service b29381
	* libpam/pam_delay.c: Change 25% in comment to 50% as used in code.
Packit Service b29381
	* doc/man/pam_fail_delay.3.xml: Change 25% to 50%
Packit Service b29381
Packit Service b29381
2015-02-18  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Updated translations from Transifex.
Packit Service b29381
	* po/*.po: Updated translations from Transifex.
Packit Service b29381
Packit Service b29381
2015-01-07  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	build: raise gettext version requirement.
Packit Service b29381
	Raise gettext requirement to the latest oldstable version 0.18.3.
Packit Service b29381
	This fixes the following automake warning:
Packit Service b29381
Packit Service b29381
	configure.ac:581: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
Packit Service b29381
	configure.ac:581: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
Packit Service b29381
	configure.ac:581: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
Packit Service b29381
Packit Service b29381
	* configure.ac (AM_GNU_GETTEXT_VERSION): Raise from 0.15 to 0.18.3.
Packit Service b29381
	* po/Makevars: Update from gettext-0.18.3.
Packit Service b29381
Packit Service b29381
2015-01-07  Ronny Chevalier  <chevalier.ronny@gmail.com>
Packit Service b29381
Packit Service b29381
	build: adjust automake warning flags.
Packit Service b29381
	Enable all automake warning flags except for the portability issues,
Packit Service b29381
	since non portable features are used among the makefiles.
Packit Service b29381
Packit Service b29381
	* configure.ac (AM_INIT_AUTOMAKE): Add -Wall -Wno-portability.
Packit Service b29381
Packit Service b29381
2015-01-07  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	build: rename configure.in to configure.ac.
Packit Service b29381
	This fixes the following automake warning:
Packit Service b29381
	aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Packit Service b29381
Packit Service b29381
	* configure.in: Rename to configure.ac.
Packit Service b29381
Packit Service b29381
	Remove unmodified GNU gettext files installed by autopoint.
Packit Service b29381
	These files are part of GNU gettext; we have not modified them, they are
Packit Service b29381
	installed by autopoint which is called by autoreconf, so they had to be
Packit Service b29381
	removed from this repository along with ABOUT-NLS, config.rpath, and
Packit Service b29381
	mkinstalldirs files that were removed by commit
Packit Service b29381
	Linux-PAM-1_1_5-7-g542ec8b.
Packit Service b29381
Packit Service b29381
	* po/Makefile.in.in: Remove.
Packit Service b29381
	* po/Rules-quot: Likewise.
Packit Service b29381
	* po/boldquot.sed: Likewise.
Packit Service b29381
	* po/en@boldquot.header: Likewise.
Packit Service b29381
	* po/en@quot.header: Likewise.
Packit Service b29381
	* po/insert-header.sin: Likewise.
Packit Service b29381
	* po/quot.sed: Likewise.
Packit Service b29381
	* po/remove-potcdate.sin: Likewise.
Packit Service b29381
	* po/.gitignore: Ignore these files.
Packit Service b29381
Packit Service b29381
2015-01-06  Ronny Chevalier  <chevalier.ronny@gmail.com>
Packit Service b29381
Packit Service b29381
	Update .gitignore.
Packit Service b29381
	* .gitignore: Ignore *.log and *.trs files.
Packit Service b29381
Packit Service b29381
2015-01-02  Luke Shumaker  <lukeshu@sbcglobal.net>
Packit Service b29381
Packit Service b29381
	libpam: Only print "Password change aborted" when it's true.
Packit Service b29381
	pam_get_authtok() may be used any time that a password needs to be entered,
Packit Service b29381
	unlike pam_get_authtok_{no,}verify(), which may only be used when
Packit Service b29381
	changing a password; yet when the user aborts, it prints "Password change
Packit Service b29381
	aborted." whether or not that was the operation being performed.
Packit Service b29381
Packit Service b29381
	This bug was non-obvious because none of the modules distributed with
Packit Service b29381
	Linux-PAM use it for anything but changing passwords; pam_unix has its
Packit Service b29381
	own utility function that it uses instead.  As an example, the
Packit Service b29381
	nss-pam-ldapd package uses it in pam_sm_authenticate().
Packit Service b29381
Packit Service b29381
	libpam/pam_get_authtok.c (pam_get_authtok_internal): check that the
Packit Service b29381
	password is trying to be changed before printing a message about the
Packit Service b29381
	password change being aborted.
Packit Service b29381
Packit Service b29381
2014-12-10  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	build: extend cross compiling check to cover CPPFLAGS (ticket #21)
Packit Service b29381
	Use BUILD_CPPFLAGS variable to override CPPFLAGS where necessary in
Packit Service b29381
	case of cross compiling, in addition to CC_FOR_BUILD, BUILD_CFLAGS,
Packit Service b29381
	and BUILD_LDFLAGS variables introduced earlier to override CC,
Packit Service b29381
	CFLAGS, and LDFLAGS, respectively.
Packit Service b29381
Packit Service b29381
	* configure.in (BUILD_CPPFLAGS): Define.
Packit Service b29381
	* doc/specs/Makefile.am (CPPFLAGS): Define to @BUILD_CPPFLAGS@.
Packit Service b29381
Packit Service b29381
2014-12-09  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Do not use yywrap (ticket #42)
Packit Service b29381
	Our scanners do not really use yywrap.  Explicitly disable yywrap
Packit Service b29381
	so that no references to yywrap will be generated and no LEXLIB
Packit Service b29381
	would be needed.
Packit Service b29381
Packit Service b29381
	* conf/pam_conv1/Makefile.am (pam_conv1_LDADD): Remove.
Packit Service b29381
	* conf/pam_conv1/pam_conv_l.l: Enable noyywrap option.
Packit Service b29381
	* doc/specs/Makefile.am (padout_LDADD): Remove.
Packit Service b29381
	* doc/specs/parse_l.l: Enable noyywrap option.
Packit Service b29381
Packit Service b29381
2014-12-09  Kyle Manna  <kyle@kylemanna.com>
Packit Service b29381
Packit Service b29381
	doc: fix a trivial typo in pam_authenticate return values (ticket #38)
Packit Service b29381
	* doc/man/pam_authenticate.3.xml: Fix a typo in PAM_AUTHINFO_UNAVAIL.
Packit Service b29381
Packit Service b29381
2014-12-09  Ronny Chevalier  <chevalier.ronny@gmail.com>
Packit Service b29381
Packit Service b29381
	doc: fix typo in pam_authenticate.3.xml.
Packit Service b29381
	* doc/man/pam_authenticate.3.xml: Fix typo.
Packit Service b29381
Packit Service b29381
2014-10-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_succeed_if: Fix copy&paste error in rhost and tty values.
Packit Service b29381
	modules/pam_succeed_if/pam_succeed_if.c (evaluate): Use PAM_RHOST
Packit Service b29381
	and PAM_TTY properly for the rhost and tty values.
Packit Service b29381
Packit Service b29381
	pam_succeed_if: Use long long type for numeric values.
Packit Service b29381
	The currently used long with additional conversion to int is
Packit Service b29381
	too small for uids and gids.
Packit Service b29381
Packit Service b29381
	modules/pam_succeed_if/pam_succeed_if.c (evaluate_num): Replace
Packit Service b29381
	strtol() with strtoll() and int with long long in the parameters
Packit Service b29381
	of comparison functions.
Packit Service b29381
Packit Service b29381
2014-09-05  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add grantor field to audit records of libpam.
Packit Service b29381
	The grantor field gives audit trail of PAM modules which granted access
Packit Service b29381
	for successful return from libpam calls. In case of failed return
Packit Service b29381
	the grantor field is set to '?'.
Packit Service b29381
	libpam/pam_account.c (pam_acct_mgmt): Remove _pam_auditlog() call.
Packit Service b29381
	libpam/pam_auth.c (pam_authenticate, pam_setcred): Likewise.
Packit Service b29381
	libpam/pam_password.c (pam_chauthtok): Likewise.
Packit Service b29381
	libpam/pam_session.c (pam_open_session, pam_close_session): Likewise.
Packit Service b29381
	libpam/pam_audit.c (_pam_audit_writelog): Add grantors parameter,
Packit Service b29381
	add grantor= field to the message if grantors is set.
Packit Service b29381
	(_pam_list_grantors): New function creating the string with grantors list.
Packit Service b29381
	(_pam_auditlog): Add struct handler pointer parameter, call _pam_list_grantors()
Packit Service b29381
	to list the grantors from the handler list.
Packit Service b29381
	(_pam_audit_end): Add NULL handler parameter to _pam_auditlog() call.
Packit Service b29381
	(pam_modutil_audit_write): Add NULL grantors parameter to _pam_audit_writelog().
Packit Service b29381
	libpam/pam_dispatch.c (_pam_dispatch_aux): Set h->grantor where appropriate.
Packit Service b29381
	(_pam_clear_grantors): New function to clear grantor field of handler.
Packit Service b29381
	(_pam_dispatch): Call _pam_clear_grantors() before executing the stack.
Packit Service b29381
	Call _pam_auditlog() when appropriate.
Packit Service b29381
	libpam/pam_handlers.c (extract_modulename): Do not allow empty module name
Packit Service b29381
	or just "?" to avoid confusing audit trail.
Packit Service b29381
	(_pam_add_handler): Test for NULL return from extract_modulename().
Packit Service b29381
	Clear grantor field of handler.
Packit Service b29381
	libpam/pam_private.h: Add grantor field to struct handler, add handler pointer
Packit Service b29381
	parameter to _pam_auditlog().
Packit Service b29381
Packit Service b29381
2014-08-26  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_mkhomedir: Drop superfluous stat() call.
Packit Service b29381
	modules/pam_mkhomedir/mkhomedir_helper.c (create_homedir): Drop superfluous
Packit Service b29381
	stat() call.
Packit Service b29381
Packit Service b29381
	pam_exec: Do not depend on open() returning STDOUT_FILENO.
Packit Service b29381
	modules/pam_exec/pam_exec.c (call_exec): Move the descriptor to
Packit Service b29381
	STDOUT_FILENO if needed.
Packit Service b29381
Packit Service b29381
2014-08-25  Robin Hack  <rhack@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_keyinit: Check return value of setregid.
Packit Service b29381
	modules/pam_keyinit/pam_keyinit.c (pam_sm_open_session): Log if setregid() fails.
Packit Service b29381
Packit Service b29381
	pam_filter: Avoid leaking descriptors when fork() fails.
Packit Service b29381
	modules/pam_filter/pam_filter.c (set_filter): Close descriptors when fork() fails.
Packit Service b29381
Packit Service b29381
2014-08-14  Robin Hack  <rhack@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_echo: Avoid leaking file descriptor.
Packit Service b29381
	modules/pam_echo/pam_echo.c (pam_echo): Close fd in error cases.
Packit Service b29381
Packit Service b29381
2014-08-13  Robin Hack  <rhack@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_tty_audit: Silence Coverity reporting uninitialized use.
Packit Service b29381
	modules/pam_tty_audit/pam_tty_audit.c (nl_recv): Initialize also
Packit Service b29381
	msg_flags.
Packit Service b29381
Packit Service b29381
2014-08-13  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_tally2: Avoid uninitialized use of fileinfo.
Packit Service b29381
	Problem found by Robin Hack <rhack@redhat.com>.
Packit Service b29381
	modules/pam_tally2/pam_tally2.c (get_tally): Do not depend on file size
Packit Service b29381
	just try to read it.
Packit Service b29381
Packit Service b29381
	pam_access: Avoid uninitialized access of line.
Packit Service b29381
	* modules/pam_access/pam_access.c (login_access): Reorder condition
Packit Service b29381
	so line is not accessed when uninitialized.
Packit Service b29381
Packit Service b29381
2014-08-05  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_lastlog: Properly clean up last_login structure before use.
Packit Service b29381
	modules/pam_lastlog/pam_lastlog.c (last_login_write): Properly clean up last_login
Packit Service b29381
	structure before use.
Packit Service b29381
Packit Service b29381
2014-07-21  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Make pam_pwhistory and pam_unix tolerant of corrupted opasswd file.
Packit Service b29381
	* modules/pam_pwhistory/opasswd.c (parse_entry): Test for missing fields
Packit Service b29381
	in opasswd entry and return error.
Packit Service b29381
	* modules/pam_unix/passverify.c (save_old_password): Test for missing fields
Packit Service b29381
	in opasswd entry and skip it.
Packit Service b29381
Packit Service b29381
2014-07-01  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	doc: add missing build dependencies for soelim stubs.
Packit Service b29381
	* doc/man/Makefile.am [ENABLE_REGENERATE_MAN]: Add dependencies for
Packit Service b29381
	pam_verror.3, pam_vinfo.3, pam_vprompt.3, and pam_vsyslog.3 soelim stubs.
Packit Service b29381
Packit Service b29381
2014-06-23  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	doc: fix install in case of out of tree build (ticket #31)
Packit Service b29381
	* doc/adg/Makefile.am (install-data-local, releasedocs): Fall back
Packit Service b29381
	to srcdir if documentation files haven't been found in builddir.
Packit Service b29381
	(releasedocs): Treat missing documentation files as an error.
Packit Service b29381
	* doc/mwg/Makefile.am: Likewise.
Packit Service b29381
	* doc/sag/Makefile.am: Likewise.
Packit Service b29381
Packit Service b29381
2014-06-19  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	doc: fix installation of adg-*.html and mwg-*.html files (ticket #31)
Packit Service b29381
	Fix a typo due to which sag-*.html files might be installed instead of
Packit Service b29381
	adg-*.html and mwg-*.html files.
Packit Service b29381
Packit Service b29381
	* doc/adg/Makefile.am (install-data-local): Install adg-*.html instead
Packit Service b29381
	of sag-*.html.
Packit Service b29381
	* doc/mwg/Makefile.am (install-data-local): Install mwg-*.html instead
Packit Service b29381
	of sag-*.html.
Packit Service b29381
Packit Service b29381
	Patch-by: Mike Frysinger <vapier@gentoo.org>
Packit Service b29381
Packit Service b29381
2014-06-19  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_limits: nofile refers to file descriptors not files.
Packit Service b29381
	modules/pam_limits/limits.conf.5.xml: Correct documentation of nofile limit.
Packit Service b29381
	modules/pam_limits/limits.conf: Likewise.
Packit Service b29381
Packit Service b29381
	pam_limits: clarify documentation of maxlogins and maxsyslogins limits.
Packit Service b29381
	modules/pam_limits/limits.conf.5.xml: clarify documentation of
Packit Service b29381
	maxlogins and maxsyslogins limits.
Packit Service b29381
Packit Service b29381
	pam_unix: Check for NULL return from Goodcrypt_md5().
Packit Service b29381
	modules/pam_unix/pam_unix_passwd.c (check_old_password): Check for
Packit Service b29381
	NULL return from Goodcrypt_md5().
Packit Service b29381
Packit Service b29381
	pam_unix: check for NULL return from malloc()
Packit Service b29381
	* modules/pam_unix/md5_crypt.c (crypt_md5): Check for NULL return from malloc().
Packit Service b29381
Packit Service b29381
2014-05-22  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_loginuid: Document one more possible case of PAM_IGNORE return.
Packit Service b29381
	modules/pam_loginuid/pam_loginuid.8.xml: Document one more possible case
Packit Service b29381
	of PAM_IGNORE return value.
Packit Service b29381
Packit Service b29381
	pam_loginuid: Document other possible return values.
Packit Service b29381
	modules/pam_loginuid/pam_loginuid.8.xml: Document the possible return
Packit Service b29381
	values.
Packit Service b29381
Packit Service b29381
2014-03-26  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_timestamp: fix potential directory traversal issue (ticket #27)
Packit Service b29381
	pam_timestamp uses values of PAM_RUSER and PAM_TTY as components of
Packit Service b29381
	the timestamp pathname it creates, so extra care should be taken to
Packit Service b29381
	avoid potential directory traversal issues.
Packit Service b29381
Packit Service b29381
	* modules/pam_timestamp/pam_timestamp.c (check_tty): Treat
Packit Service b29381
	"." and ".." tty values as invalid.
Packit Service b29381
	(get_ruser): Treat "." and ".." ruser values, as well as any ruser
Packit Service b29381
	value containing '/', as invalid.
Packit Service b29381
Packit Service b29381
	Fixes CVE-2014-2583.
Packit Service b29381
Packit Service b29381
	Reported-by: Sebastian Krahmer <krahmer@suse.de>
Packit Service b29381
Packit Service b29381
2014-03-20  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_userdb: document that .db suffix should not be used.
Packit Service b29381
	modules/pam_userdb/pam_userdb.8.xml: Document that .db suffix
Packit Service b29381
	should not be used and correct the example.
Packit Service b29381
Packit Service b29381
2014-03-11  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_selinux: canonicalize user name.
Packit Service b29381
	SELinux expects canonical user name for example without domain component.
Packit Service b29381
Packit Service b29381
	* modules/pam_selinux/pam_selinux.c (compute_exec_context): Canonicalize user name with pam_modutil_getpwnam().
Packit Service b29381
Packit Service b29381
2014-01-28  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Change tarball name back to "Linux-PAM"
Packit Service b29381
	As a side effect of commit Linux-PAM-1_1_8-11-g3fa23ce, tarball name
Packit Service b29381
	changed accidentally from "Linux-PAM" to "linux-pam".
Packit Service b29381
	This change brings it back to "Linux-PAM".
Packit Service b29381
Packit Service b29381
	* configure.in (AC_INIT): Explicitly specify TARNAME argument.
Packit Service b29381
Packit Service b29381
2014-01-27  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Introduce pam_modutil_sanitize_helper_fds.
Packit Service b29381
	This change introduces pam_modutil_sanitize_helper_fds - a new function
Packit Service b29381
	that redirects standard descriptors and closes all other descriptors.
Packit Service b29381
Packit Service b29381
	pam_modutil_sanitize_helper_fds supports three types of input and output
Packit Service b29381
	redirection:
Packit Service b29381
	- PAM_MODUTIL_IGNORE_FD: do not redirect at all.
Packit Service b29381
	- PAM_MODUTIL_PIPE_FD: redirect to a pipe.  For stdin, it is implemented
Packit Service b29381
	  by creating a pipe, closing its write end, and redirecting stdin to
Packit Service b29381
	  its read end.  Likewise, for stdout/stderr it is implemented by
Packit Service b29381
	  creating a pipe, closing its read end, and redirecting to its write
Packit Service b29381
	  end.  Unlike stdin redirection, stdout/stderr redirection to a pipe
Packit Service b29381
	  has a side effect that a process writing to such descriptor should be
Packit Service b29381
	  prepared to handle SIGPIPE appropriately.
Packit Service b29381
	- PAM_MODUTIL_NULL_FD: redirect to /dev/null.  For stdin, it is
Packit Service b29381
	  implemented via PAM_MODUTIL_PIPE_FD because there is no functional
Packit Service b29381
	  difference.  For stdout/stderr, it is classic redirection to
Packit Service b29381
	  /dev/null.
Packit Service b29381
Packit Service b29381
	PAM_MODUTIL_PIPE_FD is usually more suitable due to linux kernel
Packit Service b29381
	security restrictions, but when the helper process might be writing to
Packit Service b29381
	the corresponding descriptor and termination of the helper process by
Packit Service b29381
	SIGPIPE is not desirable, one should choose PAM_MODUTIL_NULL_FD.
Packit Service b29381
Packit Service b29381
	* libpam/pam_modutil_sanitize.c: New file.
Packit Service b29381
	* libpam/Makefile.am (libpam_la_SOURCES): Add it.
Packit Service b29381
	* libpam/include/security/pam_modutil.h (pam_modutil_redirect_fd,
Packit Service b29381
	pam_modutil_sanitize_helper_fds): New declarations.
Packit Service b29381
	* libpam/libpam.map (LIBPAM_MODUTIL_1.1.9): New interface.
Packit Service b29381
	* modules/pam_exec/pam_exec.c (call_exec): Use
Packit Service b29381
	pam_modutil_sanitize_helper_fds.
Packit Service b29381
	* modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
Packit Service b29381
	Likewise.
Packit Service b29381
	* modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c (run_coprocess): Likewise.
Packit Service b29381
	* modules/pam_unix/support.h (MAX_FD_NO): Remove.
Packit Service b29381
Packit Service b29381
	pam_xauth: avoid potential SIGPIPE when writing to xauth process.
Packit Service b29381
	Similar issue in pam_unix was fixed by commit Linux-PAM-0-73~8.
Packit Service b29381
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c (run_coprocess): In the parent process,
Packit Service b29381
	close the read end of input pipe after writing to its write end.
Packit Service b29381
Packit Service b29381
	pam_loginuid: log significant loginuid write errors.
Packit Service b29381
	* modules/pam_loginuid/pam_loginuid.c (set_loginuid): Log those errors
Packit Service b29381
	during /proc/self/loginuid update that are not ignored.
Packit Service b29381
Packit Service b29381
	Fix gratuitous use of strdup and x_strdup.
Packit Service b29381
	There is no need to copy strings passed as arguments to execve,
Packit Service b29381
	the only potentially noticeable effect of using strdup/x_strdup
Packit Service b29381
	would be a malformed argument list in case of memory allocation error.
Packit Service b29381
Packit Service b29381
	Also, x_strdup, being a thin wrapper around strdup, is of no benefit
Packit Service b29381
	when its argument is known to be non-NULL, and should not be used in
Packit Service b29381
	such cases.
Packit Service b29381
Packit Service b29381
	* modules/pam_cracklib/pam_cracklib.c (password_check): Use strdup
Packit Service b29381
	instead of x_strdup, the latter is of no benefit in this case.
Packit Service b29381
	* modules/pam_ftp/pam_ftp.c (lookup): Likewise.
Packit Service b29381
	* modules/pam_userdb/pam_userdb.c (user_lookup): Likewise.
Packit Service b29381
	* modules/pam_userdb/pam_userdb.h (x_strdup): Remove.
Packit Service b29381
	* modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Do not use
Packit Service b29381
	x_strdup for strings passed as arguments to execve.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Likewise.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary): Likewise.
Packit Service b29381
	* modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
Packit Service b29381
	(_unix_verify_password): Use strdup instead of x_strdup, the latter
Packit Service b29381
	is of no benefit in this case.
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c (run_coprocess): Do not use strdup for
Packit Service b29381
	strings passed as arguments to execv.
Packit Service b29381
Packit Service b29381
	pam_userdb: fix password hash comparison.
Packit Service b29381
	Starting with commit Linux-PAM-0-77-28-g0b3e583 that introduced hashed
Packit Service b29381
	passwords support in pam_userdb, hashes are compared case-insensitively.
Packit Service b29381
	This bug leads to accepting hashes for completely different passwords in
Packit Service b29381
	addition to those that should be accepted.
Packit Service b29381
Packit Service b29381
	Additionally, commit Linux-PAM-1_1_6-13-ge2a8187 that added support for
Packit Service b29381
	modern password hashes with different lengths and settings, did not
Packit Service b29381
	update the hash comparison accordingly, which leads to accepting
Packit Service b29381
	computed hashes longer than stored hashes when the latter is a prefix
Packit Service b29381
	of the former.
Packit Service b29381
Packit Service b29381
	* modules/pam_userdb/pam_userdb.c (user_lookup): Reject the computed
Packit Service b29381
	hash whose length differs from the stored hash length.
Packit Service b29381
	Compare computed and stored hashes case-sensitively.
Packit Service b29381
	Fixes CVE-2013-7041.
Packit Service b29381
Packit Service b29381
	Bug-Debian: http://bugs.debian.org/731368
Packit Service b29381
Packit Service b29381
2014-01-24  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_xauth: log fatal errors preventing xauth process execution.
Packit Service b29381
	* modules/pam_xauth/pam_xauth.c (run_coprocess): Log errors from pipe()
Packit Service b29381
	and fork() calls.
Packit Service b29381
Packit Service b29381
2014-01-22  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_loginuid: cleanup loginuid buffer initialization.
Packit Service b29381
	* modules/pam_loginuid/pam_loginuid.c (set_loginuid): Move loginuid
Packit Service b29381
	buffer initialization closer to its first use.
Packit Service b29381
Packit Service b29381
	libpam_misc: fix an inconsistency in handling memory allocation errors.
Packit Service b29381
	When misc_conv fails to allocate memory for pam_response array, it
Packit Service b29381
	returns PAM_CONV_ERR.  However, when read_string fails to allocate
Packit Service b29381
	memory for a response string, it loses the response string and silently
Packit Service b29381
	ignores the error, with net result as if EOF has been read.
Packit Service b29381
Packit Service b29381
	* libpam_misc/misc_conv.c (read_string): Use strdup instead of x_strdup,
Packit Service b29381
	the latter is of no benefit in this case.
Packit Service b29381
	Do not ignore potential memory allocation errors returned by strdup,
Packit Service b29381
	forward them to misc_conv.
Packit Service b29381
Packit Service b29381
2014-01-20  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_limits: fix utmp->ut_user handling.
Packit Service b29381
	ut_user member of struct utmp is a string that is not necessarily
Packit Service b29381
	null-terminated, so extra care should be taken when using it.
Packit Service b29381
Packit Service b29381
	* modules/pam_limits/pam_limits.c (check_logins): Convert ut->UT_USER to
Packit Service b29381
	a null-terminated string and consistently use it where a null-terminated
Packit Service b29381
	string is expected.
Packit Service b29381
Packit Service b29381
	pam_mkhomedir: check and create home directory for the same user (ticket #22)
Packit Service b29381
	Before pam_mkhomedir helper was introduced in commit
Packit Service b29381
	7b14630ef39e71f603aeca0c47edf2f384717176, pam_mkhomedir was checking for
Packit Service b29381
	existance and creating the same directory - the home directory of the
Packit Service b29381
	user NAME returned by pam_get_item(PAM_USER).
Packit Service b29381
Packit Service b29381
	The change in behaviour accidentally introduced along with
Packit Service b29381
	mkhomedir_helper is not consistent: while the module still checks for
Packit Service b29381
	getpwnam(NAME)->pw_dir, the directory created by mkhomedir_helper is
Packit Service b29381
	getpwnam(getpwnam(NAME)->pw_name)->pw_dir, which is not necessarily
Packit Service b29381
	the same as the directory being checked.
Packit Service b29381
Packit Service b29381
	This change brings check and creation back in sync, both handling
Packit Service b29381
	getpwnam(NAME)->pw_dir.
Packit Service b29381
Packit Service b29381
	* modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Replace
Packit Service b29381
	"struct passwd *" argument with user's name and home directory.
Packit Service b29381
	Pass user's name to MKHOMEDIR_HELPER.
Packit Service b29381
	(pam_sm_open_session): Update create_homedir call.
Packit Service b29381
Packit Service b29381
2014-01-20  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_limits: detect and ignore stale utmp entries.
Packit Service b29381
	Original idea by Christopher Hailey
Packit Service b29381
Packit Service b29381
	* modules/pam_limits/pam_limits.c (check_logins): Use kill() to
Packit Service b29381
	detect if pid of the utmp entry is still running and ignore the entry
Packit Service b29381
	if it is not.
Packit Service b29381
Packit Service b29381
2014-01-19  Stéphane Graber  <stgraber@ubuntu.com>
Packit Service b29381
Packit Service b29381
	pam_loginuid: Always return PAM_IGNORE in userns.
Packit Service b29381
	The previous patch to support user namespaces works fine with containers
Packit Service b29381
	that are started from a desktop/terminal session but fails when dealing
Packit Service b29381
	with containers that were started from a remote session such as ssh.
Packit Service b29381
Packit Service b29381
	I haven't looked at the exact reason for that in the kernel but on the
Packit Service b29381
	userspace side of things, the difference is that containers started from
Packit Service b29381
	an ssh session will happily let pam open /proc/self/loginuid read-write,
Packit Service b29381
	will let it read its content but will then fail with EPERM when trying
Packit Service b29381
	to write to it.
Packit Service b29381
Packit Service b29381
	So to make the userns support bullet proof, this commit moves the userns
Packit Service b29381
	check earlier in the function (which means a small performance impact as
Packit Service b29381
	it'll now happen everytime on kernels that have userns support) and will
Packit Service b29381
	set rc = PAM_IGNORE instead of rc = PAM_ERROR.
Packit Service b29381
Packit Service b29381
	The rest of the code is still executed in the event that PAM is run on a
Packit Service b29381
	future kernel where we have some kind of audit namespace that includes a
Packit Service b29381
	working loginuid.
Packit Service b29381
Packit Service b29381
2014-01-15  Steve Langasek  <vorlon@debian.org>
Packit Service b29381
Packit Service b29381
	pam_namespace: don't use bashisms in default namespace.init script.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.c: call setuid() before execing the
Packit Service b29381
	namespace init script, so that scripts run with maximum privilege regardless
Packit Service b29381
	of the shell implementation.
Packit Service b29381
	* modules/pam_namespace/namespace.init: drop the '-p' bashism from the
Packit Service b29381
	shebang line
Packit Service b29381
Packit Service b29381
	This is not a POSIX standard option, it's a bashism.  The bash manpage says
Packit Service b29381
	that it's used to prevent the effective user id from being reset to the real
Packit Service b29381
	user id on startup, and to ignore certain unsafe variables from the
Packit Service b29381
	environment.
Packit Service b29381
Packit Service b29381
	In the case of pam_namespace, the -p is not necessary for environment
Packit Service b29381
	sanitizing because the PAM module (properly) sanitizes the environment
Packit Service b29381
	before execing the script.
Packit Service b29381
Packit Service b29381
	The stated reason given in CVS history for passing -p is to "preserve euid
Packit Service b29381
	when called from setuid apps (su, newrole)."  This should be done more
Packit Service b29381
	portably, by calling setuid() before spawning the shell.
Packit Service b29381
Packit Service b29381
	Bug-Debian: http://bugs.debian.org/624842
Packit Service b29381
	Bug-Ubuntu: https://bugs.launchpad.net/bugs/1081323
Packit Service b29381
Packit Service b29381
2014-01-10  Stéphane Graber  <stgraber@ubuntu.com>
Packit Service b29381
Packit Service b29381
	pam_loginuid: Ignore failure in user namespaces.
Packit Service b29381
	When running pam_loginuid in a container using the user namespaces, even
Packit Service b29381
	uid 0 isn't allowed to set the loginuid property.
Packit Service b29381
Packit Service b29381
	This change catches the EACCES from opening loginuid, checks if the user
Packit Service b29381
	is in the host namespace (by comparing the uid_map with the host's one)
Packit Service b29381
	and only if that's the case, sets rc to 1.
Packit Service b29381
Packit Service b29381
	Should uid_map not exist or be unreadable for some reason, it'll be
Packit Service b29381
	assumed that the process is running on the host's namespace.
Packit Service b29381
Packit Service b29381
	The initial reason behind this change was failure to ssh into an
Packit Service b29381
	unprivileged container (using a 3.13 kernel and current LXC) when using
Packit Service b29381
	a standard pam profile for sshd (which requires success from
Packit Service b29381
	pam_loginuid).
Packit Service b29381
Packit Service b29381
	I believe this solution doesn't have any drawback and will allow people
Packit Service b29381
	to use unprivileged containers normally. An alternative would be to have
Packit Service b29381
	all distros set pam_loginuid as optional but that'd be bad for any of
Packit Service b29381
	the other potential failure case which people may care about.
Packit Service b29381
Packit Service b29381
	There has also been some discussions to get some of the audit features
Packit Service b29381
	tied with the user namespaces but currently none of that has been merged
Packit Service b29381
	upstream and the currently proposed implementation doesn't cover
Packit Service b29381
	loginuid (nor is it clear how this should even work when loginuid is set
Packit Service b29381
	as immutable after initial write).
Packit Service b29381
Packit Service b29381
2014-01-10  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_loginuid: return PAM_IGNORE when /proc/self/loginuid does not exist.
Packit Service b29381
	When /proc/self/loginuid does not exist, return PAM_IGNORE instead of
Packit Service b29381
	PAM_SUCCESS, so that we can distinguish between "loginuid set
Packit Service b29381
	successfully" and "loginuid not set, but this is expected".
Packit Service b29381
Packit Service b29381
	Suggested by Steve Langasek.
Packit Service b29381
Packit Service b29381
	* modules/pam_loginuid/pam_loginuid.c (set_loginuid): Change return
Packit Service b29381
	code semantics: return PAM_SUCCESS on success, PAM_IGNORE when loginuid
Packit Service b29381
	does not exist, PAM_SESSION_ERR in case of any other error.
Packit Service b29381
	(_pam_loginuid): Forward the PAM error code returned by set_loginuid.
Packit Service b29381
Packit Service b29381
2013-11-20  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_access: fix debug level logging (ticket #19)
Packit Service b29381
	* modules/pam_access/pam_access.c (group_match): Log the group token
Packit Service b29381
	passed to the function, not an uninitialized data on the stack.
Packit Service b29381
Packit Service b29381
	pam_warn: log flags passed to the module (ticket #25)
Packit Service b29381
	* modules/pam_warn/pam_warn.c (log_items): Take "flags" argument and
Packit Service b29381
	log it using pam_syslog.
Packit Service b29381
	(pam_sm_authenticate, pam_sm_setcred, pam_sm_chauthtok,
Packit Service b29381
	pam_sm_acct_mgmt, pam_sm_open_session, pam_sm_close_session): Pass
Packit Service b29381
	"flags" argument to log_items.
Packit Service b29381
Packit Service b29381
	Modernize AM_INIT_AUTOMAKE invocation.
Packit Service b29381
	Before this change, automake complained that two- and three-arguments
Packit Service b29381
	forms of AM_INIT_AUTOMAKE are deprecated.
Packit Service b29381
Packit Service b29381
	* configure.in: Pass PACKAGE and VERSION arguments to AC_INIT instead
Packit Service b29381
	of AM_INIT_AUTOMAKE.
Packit Service b29381
Packit Service b29381
	Fix autoconf warnings.
Packit Service b29381
	Before this change, autoconf complained that AC_COMPILE_IFELSE
Packit Service b29381
	and AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS.
Packit Service b29381
Packit Service b29381
	* configure.in: Call AC_USE_SYSTEM_EXTENSIONS before LT_INIT.
Packit Service b29381
Packit Service b29381
	pam_securetty: check return value of fgets.
Packit Service b29381
	Checking return value of fgets not only silences the warning from glibc
Packit Service b29381
	but also leads to a cleaner code.
Packit Service b29381
Packit Service b29381
	* modules/pam_securetty/pam_securetty.c (securetty_perform_check):
Packit Service b29381
	Check return value of fgets.
Packit Service b29381
Packit Service b29381
	pam_lastlog: fix format string.
Packit Service b29381
	gcc -Wformat justly complains:
Packit Service b29381
	format '%d' expects argument of type 'int', but argument 5 has type 'time_t'
Packit Service b29381
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.c (pam_sm_authenticate): Fix format
Packit Service b29381
	string.
Packit Service b29381
Packit Service b29381
2013-11-20  Darren Tucker  <dtucker@zip.com.au>
Packit Service b29381
Packit Service b29381
	If the correct loginuid is set already, skip writing it.
Packit Service b29381
	modules/pam_loginuid/pam_loginuid.c (set_loginuid): Read the current loginuid
Packit Service b29381
	and skip writing if already correctly set.
Packit Service b29381
Packit Service b29381
2013-11-11  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
		Always ask for old password if changing NIS account.
Packit Service b29381
		* modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): ask
Packit Service b29381
		for old password if NIS account.
Packit Service b29381
Packit Service b29381
2013-11-08  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Allow DES as compatibility option for /etc/login.defs.
Packit Service b29381
	* modules/pam_unix/support.h: Add UNIX_DES
Packit Service b29381
Packit Service b29381
2013-10-14  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Docfix: pam_prompt() and pam_vprompt() return int.
Packit Service b29381
	doc/man/pam_prompt.3.xml: pam_prompt() and pam_vprompt() return int.
Packit Service b29381
Packit Service b29381
	Make pam_tty_audit work with old kernels not supporting log_passwd.
Packit Service b29381
	modules/pam_tty_audit/pam_tty_audit.c(nl_recv): Pad result with zeros
Packit Service b29381
	if message is short from older kernel.
Packit Service b29381
Packit Service b29381
2013-09-25  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Fix pam_tty_audit log_passwd support and regression.
Packit Service b29381
	modules/pam_tty_audit/pam_tty_audit.c: Add missing "config.h" include.
Packit Service b29381
	(pam_sm_open_session): Always copy the old status as initialization of new.
Packit Service b29381
Packit Service b29381
2013-09-19  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Release version 1.1.8.
Packit Service b29381
Packit Service b29381
2013-09-16  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Check return value of setuid to remove glibc warnings.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c: Check setuid return value.
Packit Service b29381
	* modules/pam_unix/support.c: Likewise.
Packit Service b29381
Packit Service b29381
2013-09-13  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Write to *rounds only if non-NULL.
Packit Service b29381
	modules/pam_unix/support.c(_set_ctrl): Write to *rounds only if non-NULL.
Packit Service b29381
Packit Service b29381
	Add missing ')'
Packit Service b29381
	modules/pam_unix/pam_unix_passwd.c: Add missing ')'..
Packit Service b29381
Packit Service b29381
2013-09-11  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Release version 1.1.7.
Packit Service b29381
Packit Service b29381
2013-09-11  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Updated translations from Transifex.
Packit Service b29381
	po/*.po: Updated translations from Transifex.
Packit Service b29381
Packit Service b29381
2013-09-04  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Extend pam_exec by stdout and type= options (ticket #8):
Packit Service b29381
	* modules/pam_exec/pam_exec.c: Add stdout and type= option
Packit Service b29381
	* modules/pam_exec/pam_exec.8.xml: Document new options
Packit Service b29381
Packit Service b29381
2013-08-30  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Fix compile error.
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c: fix last change
Packit Service b29381
Packit Service b29381
2013-08-29  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Restart waitpid if it returns with EINTR (ticket #17)
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c: run waitpid in a while loop.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: Likewise.
Packit Service b29381
	* modules/pam_unix/support.c: Likewise.
Packit Service b29381
Packit Service b29381
2013-08-28  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	misc_conv.3: Fix documentation of misc_conv.
Packit Service b29381
	doc/man/misc_conv.3.xml: Fix return value of misc_conv
Packit Service b29381
Packit Service b29381
2013-08-23  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Apply the exclusive check in pam_sepermit only when loginuid not set.
Packit Service b29381
	* modules/pam_sepermit/pam_sepermit.c(get_loginuid): Read loginuid from
Packit Service b29381
	/proc
Packit Service b29381
	(sepermit_match): Apply the exclusive check only when loginuid not set.
Packit Service b29381
Packit Service b29381
2013-08-22  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Updated translations from Transifex.
Packit Service b29381
	* po/*.po: Updated translations from Transifex.
Packit Service b29381
Packit Service b29381
2013-07-02  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_rootok: fix linking in --enable-audit mode.
Packit Service b29381
	pam_rootok.c explicitly uses functions from libaudit, so the module has
Packit Service b29381
	to be linked with the library.
Packit Service b29381
Packit Service b29381
	* modules/pam_rootok/Makefile.am (pam_rootok_la_LIBADD): Add @LIBAUDIT@.
Packit Service b29381
Packit Service b29381
2013-07-01  Richard Guy Briggs  <rgb@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_tty_audit: fix a typo that crept in during patch review.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.c (pam_sm_open_session): Replace
Packit Service b29381
	all occurrences of HAVE_AUDIT_TTY_STATUS_LOG_PASSWD with
Packit Service b29381
	HAVE_STRUCT_AUDIT_TTY_STATUS_LOG_PASSWD.
Packit Service b29381
	* configure.in (HAVE_AUDIT_TTY_STATUS_LOG_PASSWD): Remove.
Packit Service b29381
Packit Service b29381
2013-06-21  Richard Guy Briggs  <rgb@redhat.com>
Packit Service b29381
Packit Service b29381
	pam_tty_audit: add an option to control logging of passwords: log_passwd
Packit Service b29381
	Most commands are entered one line at a time and processed as complete lines
Packit Service b29381
	in non-canonical mode.  Commands that interactively require a password, enter
Packit Service b29381
	canonical mode with echo set to off to do this.  This feature (icanon and
Packit Service b29381
	!echo) can be used to avoid logging passwords by audit while still logging the
Packit Service b29381
	rest of the command.  Adding a member to the struct audit_tty_status passed in
Packit Service b29381
	by pam_tty_audit allows control of logging passwords per task.
Packit Service b29381
Packit Service b29381
	* configure.in: autoconf bits to conditionally add support at compile time
Packit Service b29381
	depending on struct audit_tty_status kernel header version.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.8.xml: Document new pam_tty_audit module
Packit Service b29381
	log_passwd option.
Packit Service b29381
	* modules/pam_tty_audit/pam_tty_audit.c: (pam_sm_open_session): Added
Packit Service b29381
	"log_passwd" option parsing.
Packit Service b29381
Packit Service b29381
2013-06-20  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Man page fix - unix_update runs in the permissive mode as well.
Packit Service b29381
	modules/pam_unix/unix_update.8.xml: unix_update helper runs in the
Packit Service b29381
	permissive mode as well.
Packit Service b29381
Packit Service b29381
2013-06-18  Thorsten Kukuk  <kukuk@orinoco.thkukuk.de>
Packit Service b29381
Packit Service b29381
	Use hash from /etc/login.defs as default if no other one is specified as argument.
Packit Service b29381
	* modules/pam_unix/support.c: Add search_key, call from __set_ctrl
Packit Service b29381
	* modules/pam_unix/support.h: Add define for /etc/login.defs
Packit Service b29381
	* modules/pam_unix/pam_unix.8.xml: Document new behavior.
Packit Service b29381
	* modules/pam_umask/pam_umask.c: Add missing NULL pointer check
Packit Service b29381
Packit Service b29381
2013-04-12  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_access: better not change the default function used to get domain name.
Packit Service b29381
	modules/pam_access/pam_access.c (netgroup_match): As we did not use
Packit Service b29381
	yp_get_default_domain() in the 1.1 branch due to typo in ifdef
Packit Service b29381
	we should use it only as fallback.
Packit Service b29381
Packit Service b29381
2013-03-28  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Fix strict aliasing issue in MD5 implementations.
Packit Service b29381
	modules/pam_namespace/md5.c (MD5Final): Use memcpy instead of assignment.
Packit Service b29381
	modules/pam_unix/md5.c (MD5Final): Use memcpy instead of assignment.
Packit Service b29381
Packit Service b29381
2013-03-22  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_lastlog: Do not fail on short read if btmp is corrupted.
Packit Service b29381
	modules/pam_lastlog/pam_lastlog.c (last_login_failed): Just warn, not fail
Packit Service b29381
	on short read or read error.
Packit Service b29381
Packit Service b29381
	pam_rootok: Allow proper logging of the user AVC if access disallowed by SELinux
Packit Service b29381
	modules/pam_rootok/pam_rootok.c (log_callback, selinux_check_root): New functions.
Packit Service b29381
	(check_for_root): Use the selinux_check_root() instead of checkPasswdAccess.
Packit Service b29381
Packit Service b29381
2013-02-08  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add checks for crypt() returning NULL.
Packit Service b29381
	modules/pam_pwhistory/opasswd.c (compare_password): Add check for crypt() NULL return.
Packit Service b29381
	modules/pam_unix/bigcrypt.c (bigcrypt): Likewise.
Packit Service b29381
Packit Service b29381
2013-02-07  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_userdb: Allow also modern password hashes supported by crypt().
Packit Service b29381
	modules/pam_userdb/pam_userdb.c (user_lookup): Allow password hashes
Packit Service b29381
	longer than 13 characters and long salt.
Packit Service b29381
Packit Service b29381
2013-01-18  Walter de Jong  <walter.dejong@surfsara.nl>
Packit Service b29381
Packit Service b29381
	pam_access: fix typo in ifdef.
Packit Service b29381
	modules/pam_access/pam_access.c (netgroup_match): Fix typo
Packit Service b29381
	in #ifdef HAVE_YP_GET_DEFAULT_DOMAIN.
Packit Service b29381
Packit Service b29381
2012-12-20  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_cracklib: Mention checks that are not run for root.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.8.xml: Add note about checks
Packit Service b29381
	when run as root.
Packit Service b29381
Packit Service b29381
	Update also the POT file.
Packit Service b29381
	po/Linux-PAM.pot: Update to reflect current sources.
Packit Service b29381
Packit Service b29381
2012-12-12  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Updated translations from Transifex, added new languages.
Packit Service b29381
	po/LINGUAS: Added new languages.
Packit Service b29381
	po/*.po: Updated translations from Transifex including new languages.
Packit Service b29381
Packit Service b29381
2012-11-30  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_selinux: Drop obsolete and unsupported manual context selection.
Packit Service b29381
	modules/pam_selinux/pam_selinux.c (manual_context): Drop function.
Packit Service b29381
	(compute_exec_context): Drop manual_context() call.
Packit Service b29381
Packit Service b29381
2012-11-23  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_limits: fix grammatical mistake.
Packit Service b29381
	modules/pam_limits/limits.conf: Fix grammatical mistake.
Packit Service b29381
Packit Service b29381
2012-11-13  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Reflect the enforce_for_root semantics change in pam_pwhistory xtest.
Packit Service b29381
	xtests/tst-pam_pwhistory1.pamd: Use enforce_for_root as the test is
Packit Service b29381
	running with real uid == 0.
Packit Service b29381
Packit Service b29381
2012-10-10  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_unix: fix build in --enable-selinux mode.
Packit Service b29381
	glibc's <sys/wait.h> starting with commit
Packit Service b29381
	http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=glibc-2.15-231-gd94a467
Packit Service b29381
	does not include <sys/resource.h> for POSIX 2008 conformance reasons, so
Packit Service b29381
	when pam is being built with SELinux support enabled, pam_unix_passwd.c
Packit Service b29381
	uses getrlimit(2) and therefore should include <sys/resource.h> without
Packit Service b29381
	relying on other headers.
Packit Service b29381
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c: Include <sys/resource.h>.
Packit Service b29381
Packit Service b29381
	Reported-by: Guido Trentalancia <guido@trentalancia.com>
Packit Service b29381
	Reported-by: "Jory A. Pratt" <anarchy@gentoo.org>
Packit Service b29381
	Reported-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Packit Service b29381
Packit Service b29381
2012-10-10  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_namespace: add mntopts flag for tmpfs mount options.
Packit Service b29381
	modules/pam_namespace/pam_namespace.h: Add mount_opts member to polydir
Packit Service b29381
	structure.
Packit Service b29381
	modules/pam_namespace/pam_namespace.c (del_polydir): Free the mount_opts.
Packit Service b29381
	(parse_method): Parse the mntopts flag.
Packit Service b29381
	(ns_setup): Pass the mount_opts to mount().
Packit Service b29381
	modules/pam_namespace/namespace.conf.5.xml: Document the mntopts flag.
Packit Service b29381
Packit Service b29381
2012-09-06  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_selinux, pam_tally2: Add tty and rhost to audit data.
Packit Service b29381
	modules/pam_selinux/pam_selinux.c (send_audit_message): Obtain tty and
Packit Service b29381
	rhost from PAM items and pass them to audit.
Packit Service b29381
	modules/pam_tally2/pam_tally2.c (tally_check): Obtain tty and
Packit Service b29381
	rhost from PAM items and pass them to audit.
Packit Service b29381
	(main): Obtain tty name of stdin and pass it to audit.
Packit Service b29381
Packit Service b29381
	Update configure.in to use more recent interfaces.
Packit Service b29381
	configure.in: Use LT_INIT instead of AC_PROG_LIBTOOL and AS_HELP_STRING instead
Packit Service b29381
	of AC_HELP_STRING.
Packit Service b29381
Packit Service b29381
2012-08-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add missing $(DESTDIR) when making directories on install.
Packit Service b29381
	modules/pam_namespace/Makefile.am: Add missing $(DESTDIR) when making
Packit Service b29381
	$(namespaceddir) on install.
Packit Service b29381
	modules/pam_sepermit/Makefile.am: Add missing $(DESTDIR) when making
Packit Service b29381
	$(sepermitlockdir) on install.
Packit Service b29381
Packit Service b29381
2012-08-17  Thorsten Kukuk  <kukuk@orinoco.thkukuk.de>
Packit Service b29381
Packit Service b29381
	release version 1.1.6.
Packit Service b29381
	configure.in: Bump version to 1.1.6
Packit Service b29381
	NEWS: Document changes
Packit Service b29381
	po/*.po: Regenerate *.po files
Packit Service b29381
Packit Service b29381
2012-08-16  Thorsten Kukuk  <kukuk@thkukuk.de>
Packit Service b29381
Packit Service b29381
	Small documentation and define fixes.
Packit Service b29381
	modules/pam_limits/limits.conf.5.xml: Document race of maxlogins [#10]
Packit Service b29381
	modules/pam_namespace/pam_namespace.h: Define MS_SLAVE if necessary
Packit Service b29381
	modules/pam_pwhistory/pam_pwhistory.c: Document how the module works
Packit Service b29381
	modules/pam_unix/pam_unix.8.xml: Document remember option obsoleted by pam_pwhistory [#6]
Packit Service b29381
Packit Service b29381
2012-08-13  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Respect PAM_AUTHTOK_TYPE in pam_get_authtok_verify().
Packit Service b29381
	libpam/pam_get_authtok.c (pam_get_authtok_internal): Set the PAM_AUTHTOK_TYPE
Packit Service b29381
	item when obtained from module options.
Packit Service b29381
	(pam_get_authtok_verify): Use the PAM_AUTHTOK_TYPE item when prompting.
Packit Service b29381
Packit Service b29381
2012-08-09  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Document limits.d also in the limits.conf manpage.
Packit Service b29381
	modules/pam_limits/limits.conf.5.xml: Document the limits.d existence.
Packit Service b29381
Packit Service b29381
2012-07-23  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	New autotools do not create empty directories on install.
Packit Service b29381
	modules/pam_namespace/Makefile.am: Add install-data-local target to create
Packit Service b29381
	namespaceddir.
Packit Service b29381
	modules/pam_sepermit/Makefile.am: Add install-data-local target to create
Packit Service b29381
	sepermitlockdir.
Packit Service b29381
Packit Service b29381
2012-07-09  Stevan Bajić  <stevan@bajic.ch>
Packit Service b29381
Packit Service b29381
	RLIMIT_* variables are no longer defined unless you explicitly include sys/resource.h.
Packit Service b29381
Packit Service b29381
	modules/pam_unix/pam_unix_acct.c: Include sys/resource.h.
Packit Service b29381
Packit Service b29381
2012-06-27  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_umask: correct the documentation of GECOS field parsing.
Packit Service b29381
	modules/pam_umask/pam_umask.8.xml: Correct the documentation of GECOS field
Packit Service b29381
	parsing.
Packit Service b29381
Packit Service b29381
2012-06-22  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_cracklib: Add monotonic character sequence checking.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.c (_pam_parse): Parse the maxsequence option.
Packit Service b29381
	(sequence): New function to check for too long monotonic sequence of characters.
Packit Service b29381
	(password_check): Call the sequence().
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.8.xml: Document the maxsequence check.
Packit Service b29381
Packit Service b29381
2012-06-01  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_timestamp: Fix copy&paste error in manpage.
Packit Service b29381
	modules/pam_timestamp/pam_timestamp.8.xml: Fix AUTHOR section.
Packit Service b29381
Packit Service b29381
2012-05-28  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Pulled new translations from Transifex.
Packit Service b29381
	po/*.po: Updated translations.
Packit Service b29381
Packit Service b29381
	pam_pwhistory: Always record the old password even when root changes it.
Packit Service b29381
	modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Use the UID of
Packit Service b29381
	the process instead of the target user UID (same as in pam_cracklib) to
Packit Service b29381
	check for root. Always record old password.
Packit Service b29381
Packit Service b29381
2012-05-24  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_cracklib: Add enforce_for_root option.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.c (_pam_parse): Recognize the enforce_for_root option.
Packit Service b29381
	(pam_sm_chauthtok): Enforce errors for root with the option.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.8.xml: Document the enforce_for_root option.
Packit Service b29381
Packit Service b29381
2012-04-30  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_cracklib: Add maxclassrepeat, gecoscheck checks and remove unused difignore.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.c (_pam_parse): Recognize the maxclassrepeat, gecoscheck options. Ignore difignore option.
Packit Service b29381
	(simple): Add the check for the same class repetition.
Packit Service b29381
	(usercheck): Refactor into wordcheck().
Packit Service b29381
	(gecoscheck): New test for words from the GECOS field.
Packit Service b29381
	(password_check): Call the gecoscheck().
Packit Service b29381
	(pam_sm_chauthtok): Drop the diff_ignore from options struct.
Packit Service b29381
	modules/pam_cracklib/pam_cracklib.8.xml: Document the maxclassrepeat and gecoscheck checks, update the documentation of the difok test.
Packit Service b29381
Packit Service b29381
	pam_lastlog: Never lock out the root account.
Packit Service b29381
	modules/pam_lastlog/pam_lastlog.c (pam_sm_authenticate): Return PAM_SUCCESS if
Packit Service b29381
	uid==0.
Packit Service b29381
	modules/pam_lastlog/pam_lastlog.8.xml: Improve documentation.
Packit Service b29381
Packit Service b29381
2012-04-17  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	pam_lastlog: add possibility to lock out inactive users in auth or account
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.8.xml: Document the new functionality and
Packit Service b29381
	option.
Packit Service b29381
	* modules/pam_lastlog/pam_lastlog.c: Add the inactive user lock out.
Packit Service b29381
	(_pam_session_parse): Renamed from _pam_parse.
Packit Service b29381
	(_pam_auth_parse): New function to parse auth arguments.
Packit Service b29381
	(_last_login_open): Factor out opening of the lastlog file.
Packit Service b29381
	(_last_login_read): Factor out opening of the lastlog file.
Packit Service b29381
	(pam_sm_authenticate): Implement the lockout functionality.
Packit Service b29381
	(pam_sm_setcred): Just return PAM_SUCCESS.
Packit Service b29381
	(pam_sm_acct_mgmt): Call pam_sm_authenticate().
Packit Service b29381
Packit Service b29381
2012-04-11  Paul Wouters  <pwouters@redhat.com>
Packit Service b29381
Packit Service b29381
	Check for crypt() failure returning NULL.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Adjust syslog message.
Packit Service b29381
	* modules/pam_unix/passverify.c (create_password_hash): Check for crypt()
Packit Service b29381
	returning NULL.
Packit Service b29381
Packit Service b29381
2012-02-03  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_unix: make configuration consistent in --enable-static-modules mode.
Packit Service b29381
	In --enable-static-modules mode, it was not possible to use "pam_unix"
Packit Service b29381
	in PAM config files.  Instead, different names had to be used for each
Packit Service b29381
	management group: pam_unix_auth, pam_unix_acct, pam_unix_passwd and
Packit Service b29381
	pam_unix_session.  This change makes pam_unix configuration consistent
Packit Service b29381
	with other PAM modules.
Packit Service b29381
Packit Service b29381
	* README: Remove the paragraph describing pam_unix distinctions in
Packit Service b29381
	--enable-static-modules mode.
Packit Service b29381
	* libpam/pam_static_modules.h (_pam_unix_acct_modstruct,
Packit Service b29381
	_pam_unix_auth_modstruct, _pam_unix_passwd_modstruct,
Packit Service b29381
	_pam_unix_session_modstruct): Remove.
Packit Service b29381
	(_pam_unix_modstruct): New pam_module declaration.
Packit Service b29381
	* modules/pam_unix/pam_unix_static.h: New file.
Packit Service b29381
	* modules/pam_unix/pam_unix_static.c: Likewise.
Packit Service b29381
	* modules/pam_unix/Makefile.am (noinst_HEADERS): Add pam_unix_static.h
Packit Service b29381
	(pam_unix_la_SOURCES) [STATIC_MODULES]: Add pam_unix_static.c
Packit Service b29381
	* modules/pam_unix/pam_unix_acct.c [PAM_STATIC]: Include
Packit Service b29381
	pam_unix_static.h
Packit Service b29381
	[PAM_STATIC] (_pam_unix_acct_modstruct): Remove.
Packit Service b29381
	* modules/pam_unix/pam_unix_auth.c [PAM_STATIC]: Include
Packit Service b29381
	pam_unix_static.h
Packit Service b29381
	[PAM_STATIC] (_pam_unix_auth_modstruct): Remove.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c [PAM_STATIC]: Include
Packit Service b29381
	pam_unix_static.h
Packit Service b29381
	[PAM_STATIC] (_pam_unix_passwd_modstruct): Remove.
Packit Service b29381
	* modules/pam_unix/pam_unix_sess.c [PAM_STATIC]: Include
Packit Service b29381
	pam_unix_static.h
Packit Service b29381
	[PAM_STATIC] (_pam_unix_session_modstruct): Remove.
Packit Service b29381
Packit Service b29381
	Suggested-by: Matveychikov Ilya <i.matveychikov@securitycode.ru>
Packit Service b29381
Packit Service b29381
2012-01-27  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Make --disable-cracklib compatible with --enable-static-modules mode.
Packit Service b29381
	* configure.in: Define HAVE_LIBCRACK when cracklib is enabled.
Packit Service b29381
	* libpam/pam_static_modules.h (static_modules): Guard the use of
Packit Service b29381
	_pam_cracklib_modstruct by HAVE_LIBCRACK macro.
Packit Service b29381
Packit Service b29381
2012-02-10  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add missing includes for types used in the pam_modutil.h.
Packit Service b29381
	* libpam/include/security/pam_modutil.h: Add missing includes for used types.
Packit Service b29381
Packit Service b29381
2012-01-27  Matveychikov Ilya  <i.matveychikov@securitycode.ru>
Packit Service b29381
Packit Service b29381
	Fix compile time errors in --enable-static-modules mode.
Packit Service b29381
	* libpam/pam_static_modules.h (_pam_rhosts_auth_modstruct): Remove
Packit Service b29381
	obsolete declaration.
Packit Service b29381
	(static_modules): Remove undefined reference to
Packit Service b29381
	_pam_rhosts_auth_modstruct.
Packit Service b29381
	* modules/pam_pwhistory/opasswd.h: Rename {save,check}_old_password to
Packit Service b29381
	{save,check}_old_pass in order to avoid conflicts with pam_unix.
Packit Service b29381
	* modules/pam_pwhistory/opasswd.c: Likewise.
Packit Service b29381
	* modules/pam_pwhistory/pam_pwhistory.c: Likewise.
Packit Service b29381
	* modules/pam_tally2/pam_tally2.c: Rename _pam_tally_modstruct to
Packit Service b29381
	_pam_tally2_modstruct.
Packit Service b29381
Packit Service b29381
2012-01-26  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Fix SUBDIRS for --enable-static-modules mode.
Packit Service b29381
	There is no way to build "modules" subdirectory before "libpam" anyway.
Packit Service b29381
	In STATIC_MODULES mode, "libpam" subdirectory must be built twice to
Packit Service b29381
	produce a usable libpam.a without undefined references to multiple
Packit Service b29381
	_pam_*_modstruct symbols.
Packit Service b29381
Packit Service b29381
	* Makefile.am: Use default SUBDIRS in STATIC_MODULES mode.
Packit Service b29381
Packit Service b29381
2012-01-26  Matveychikov Ilya  <i.matveychikov@securitycode.ru>
Packit Service b29381
Packit Service b29381
	configure: fix typo in --disable-nis help string.
Packit Service b29381
	* configure.in: Change '-disable-nis' to '--disable-nis'.
Packit Service b29381
Packit Service b29381
2012-01-26  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Do not unmount anything by default in pam_namespace close session call.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.c (pam_sm_close_session): Recognize
Packit Service b29381
	the unmount_on_close option and make the default to be to not unmount.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.h: Rename PAMNS_NO_UNMOUNT_ON_CLOSE to
Packit Service b29381
	PAMNS_UNMOUNT_ON_CLOSE.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.8.xml: Document the change.
Packit Service b29381
Packit Service b29381
2012-01-24  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Make / mount as rslave instead of bind mounting polydirs.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.c (protect_dir): Drop the always argument.
Packit Service b29381
	(check_inst_parent): Drop the always argument from protect_dir().
Packit Service b29381
	(create_polydir): Likewise.
Packit Service b29381
	(ns_setup): Likewise and do not mark the polydir with MS_PRIVATE.
Packit Service b29381
	(setup_namespace): Mark the / with MS_SLAVE|MS_REC.
Packit Service b29381
	* modules/pam_namespace/pam_namespace.8.xml: Reflect the change in docs.
Packit Service b29381
Packit Service b29381
2012-01-13  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Add possibility to match ruser, rhost, and tty in pam_succeed_if.
Packit Service b29381
	* modules/pam_succeed_if/pam_succeed_if.c (evaluate): Match ruser,
Packit Service b29381
	rhost, and tty as left operand.
Packit Service b29381
	* modules/pam_succeed_if/pam_succeed_if.8.xml: Document the new
Packit Service b29381
	possible left operands.
Packit Service b29381
Packit Service b29381
2012-01-03  Tomas Mraz  <tmraz@fedoraproject.org>
Packit Service b29381
Packit Service b29381
	Merge branch 'master' of ssh://git.fedorahosted.org/git/linux-pam.
Packit Service b29381
Packit Service b29381
	Fix matching of usernames in the pam_unix remember feature.
Packit Service b29381
	* modules/pam_unix/pam_unix_passwd.c (check_old_password): Make
Packit Service b29381
	sure we match only the whole username in opasswd entry.
Packit Service b29381
	* modules/pam_unix/passverify.c (save_old_password): Likewise make
Packit Service b29381
	sure we match only the whole username in opasswd entry.
Packit Service b29381
Packit Service b29381
2011-12-26  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_start: fix memory leak on error path.
Packit Service b29381
	* libpam/pam_start.c (pam_start): If _pam_make_env() or
Packit Service b29381
	_pam_init_handlers() returned an error, release the memory allocated
Packit Service b29381
	for pam_conv structure.
Packit Service b29381
Packit Service b29381
	Patch-by: cancel <suntsu@yandex.ru>.
Packit Service b29381
Packit Service b29381
2011-11-03  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	pam_selinux.8.xml: update.
Packit Service b29381
	* modules/pam_selinux/pam_selinux.8.xml (pam_selinux-cmdsynopsis):
Packit Service b29381
	Reorder options, add new "restore" option.
Packit Service b29381
	pam_selinux-description): Rewrite.
Packit Service b29381
	(pam_selinux-options): Reorder options, describe new "restore" option.
Packit Service b29381
	(pam_selinux-return_values): Remove PAM_AUTH_ERR, PAM_SESSION_ERR
Packit Service b29381
	and PAM_BUF_ERR.
Packit Service b29381
	(pam_selinux-see_also): Remove pam.conf(5).  Add execve(2), tty(4)
Packit Service b29381
	and selinux(8).
Packit Service b29381
Packit Service b29381
	pam_selinux.c: add "restore" option.
Packit Service b29381
	* modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Add new
Packit Service b29381
	"restore" option.
Packit Service b29381
Packit Service b29381
	pam_selinux.c: rewrite using pam_get_data/pam_set_data.
Packit Service b29381
	* modules/pam_selinux/pam_selinux.c (security_restorelabel_tty,
Packit Service b29381
	security_label_tty): Remove old functions.
Packit Service b29381
	(module_data_t): New structure.
Packit Service b29381
	(free_module_data, cleanup, get_module_data, get_item,
Packit Service b29381
	set_exec_context, set_file_context, compute_exec_context,
Packit Service b29381
	compute_tty_context, restore_context, set_context,
Packit Service b29381
	create_context): New functions.
Packit Service b29381
	(pam_sm_authenticate, pam_sm_setcred, pam_sm_open_session,
Packit Service b29381
	pam_sm_close_session): Use them.
Packit Service b29381
Packit Service b29381
2011-10-28  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Use libpam.la/libpam_misc.la to link with -lpam/-lpam_misc.
Packit Service b29381
	GNU automake documentation recommends to avoid using -l options in
Packit Service b29381
	LDADD or LIBADD when referring to libraries built by the package.
Packit Service b29381
	Instead, it recommends to write the file name of the library explicitly,
Packit Service b29381
	and use -l option only to list third-party libraries.  As result, the
Packit Service b29381
	default value of *_DEPENDENCIES will list all local libraries and omit
Packit Service b29381
	the other ones.
Packit Service b29381
	* modules/pam_access/Makefile.am (pam_access_la_LIBADD): Replace
Packit Service b29381
	"-L$(top_builddir)/libpam -lpam" with
Packit Service b29381
	"$(top_builddir)/libpam/libpam.la", to follow GNU automake
Packit Service b29381
	recommendations.
Packit Service b29381
	* modules/pam_cracklib/Makefile.am (pam_cracklib_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_debug/Makefile.am (pam_debug_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_deny/Makefile.am (pam_deny_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_echo/Makefile.am (pam_echo_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_env/Makefile.am (pam_env_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_exec/Makefile.am (pam_exec_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_faildelay/Makefile.am (pam_faildelay_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_filter/Makefile.am (pam_filter_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_filter/upperLOWER/Makefile.am (LDADD): Likewise.
Packit Service b29381
	* modules/pam_ftp/Makefile.am (pam_ftp_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_group/Makefile.am (pam_group_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_issue/Makefile.am (pam_issue_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_keyinit/Makefile.am (pam_keyinit_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_lastlog/Makefile.am (pam_lastlog_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_limits/Makefile.am (pam_limits_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_listfile/Makefile.am (pam_listfile_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_localuser/Makefile.am (pam_localuser_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_loginuid/Makefile.am (pam_loginuid_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_mail/Makefile.am (pam_mail_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_mkhomedir/Makefile.am (pam_mkhomedir_la_LIBADD,
Packit Service b29381
	mkhomedir_helper_LDADD): Likewise.
Packit Service b29381
	* modules/pam_motd/Makefile.am (pam_motd_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_namespace/Makefile.am (pam_namespace_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_nologin/Makefile.am (pam_nologin_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_permit/Makefile.am (pam_permit_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_pwhistory/Makefile.am (pam_pwhistory_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_rhosts/Makefile.am (pam_rhosts_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_rootok/Makefile.am (pam_rootok_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_securetty/Makefile.am (pam_securetty_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_sepermit/Makefile.am (pam_sepermit_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_shells/Makefile.am (pam_shells_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_stress/Makefile.am (pam_stress_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_succeed_if/Makefile.am (pam_succeed_if_la_LIBADD):
Packit Service b29381
	Likewise.
Packit Service b29381
	* modules/pam_tally/Makefile.am (pam_tally_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_tally2/Makefile.am (pam_tally2_la_LIBADD,
Packit Service b29381
	pam_tally2_LDADD): Likewise.
Packit Service b29381
	* modules/pam_time/Makefile.am (pam_time_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_timestamp/Makefile.am (pam_timestamp_la_LIBADD,
Packit Service b29381
	pam_timestamp_check_LDADD, hmacfile_LDADD): Likewise.
Packit Service b29381
	* modules/pam_tty_audit/Makefile.am (pam_tty_audit_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_umask/Makefile.am (pam_umask_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_unix/Makefile.am (pam_unix_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_userdb/Makefile.am (pam_userdb_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_warn/Makefile.am (pam_warn_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_wheel/Makefile.am (pam_wheel_la_LIBADD): Likewise.
Packit Service b29381
	* modules/pam_xauth/Makefile.am (pam_xauth_la_LIBADD): Likewise.
Packit Service b29381
	* tests/Makefile.am (LDADD): Likewise.
Packit Service b29381
	* examples/Makefile.am (LDADD): Replace "-L$(top_builddir)/libpam -lpam"
Packit Service b29381
	with "$(top_builddir)/libpam/libpam.la", and
Packit Service b29381
	"-L$(top_builddir)/libpam_misc -lpam_misc" with
Packit Service b29381
	"$(top_builddir)/libpam_misc/libpam_misc.la", to follow GNU automake
Packit Service b29381
	recommendations.
Packit Service b29381
	* xtests/Makefile.am (LDADD): Likewise.
Packit Service b29381
	* modules/pam_selinux/Makefile.am (pam_selinux_la_LIBADD): Likewise.
Packit Service b29381
Packit Service b29381
	Fix usage of LIBADD, LDADD and LDFLAGS.
Packit Service b29381
	* modules/pam_selinux/Makefile.am: Rename pam_selinux_check_LDFLAGS to
Packit Service b29381
	pam_selinux_check_LDADD.
Packit Service b29381
	* modules/pam_userdb/Makefile.am: Split out pam_userdb_la_LIBADD from
Packit Service b29381
	AM_LDFLAGS.
Packit Service b29381
	* modules/pam_warn/Makefile.am: Split out pam_warn_la_LIBADD from
Packit Service b29381
	AM_LDFLAGS.
Packit Service b29381
	* modules/pam_wheel/Makefile.am: Split out pam_wheel_la_LIBADD from
Packit Service b29381
	AM_LDFLAGS.
Packit Service b29381
	* modules/pam_xauth/Makefile.am: split out pam_xauth_la_LIBADD from
Packit Service b29381
	AM_LDFLAGS.
Packit Service b29381
	* xtests/Makefile.am: Rename AM_LDFLAGS to LDADD.
Packit Service b29381
Packit Service b29381
2011-10-27  Dmitry V. Levin  <ldv@altlinux.org>
Packit Service b29381
Packit Service b29381
	Update .gitignore files.
Packit Service b29381
	* .gitignore: Add common ignore patterns.
Packit Service b29381
	* m4/.gitignore: Unignore local m4 files.
Packit Service b29381
	* dynamic/.gitignore: Unignore Makefile.
Packit Service b29381
	* libpamc/test/modules/.gitignore: Likewise.
Packit Service b29381
	* libpamc/test/regress/.gitignore: Likewise.
Packit Service b29381
	* po/.gitignore: Add Makevars.template.
Packit Service b29381
	* conf/.gitignore: Remove common ignore patterns.
Packit Service b29381
	* conf/pam_conv1/.gitignore: Likewise.
Packit Service b29381
	* doc/.gitignore: Likewise.
Packit Service b29381
	* doc/specs/.gitignore: Likewise.
Packit Service b29381
	* doc/specs/formatter/.gitignore: Likewise.
Packit Service b29381
	* examples/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_filter/upperLOWER/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_mkhomedir/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_selinux/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_stress/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_tally/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_tally2/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_timestamp/.gitignore: Likewise.
Packit Service b29381
	* modules/pam_unix/.gitignore: Likewise.
Packit Service b29381
	* tests/.gitignore: Likewise.
Packit Service b29381
	* xtests/.gitignore: Likewise.
Packit Service b29381
	* doc/adg/.gitignore: Remove.
Packit Service b29381
	* doc/man/.gitignore: Remove.
Packit Service b29381
	* doc/mwg/.gitignore: Remove.
Packit Service b29381
	* doc/sag/.gitignore: Remove.
Packit Service b29381
	* libpamc/.gitignore: Remove.
Packit Service b29381
	* libpamc/test/.gitignore: Remove.
Packit Service b29381
	* libpam/.gitignore: Remove.
Packit Service b29381
	* libpam_misc/.gitignore: Remove.
Packit Service b29381
	* modules/.gitignore: Remove.
Packit Service b29381
	* modules/pam_access/.gitignore: Remove.
Packit Service b29381
	* modules/pam_cracklib/.gitignore: Remove.
Packit Service b29381
	* modules/pam_debug/.gitignore: Remove.
Packit Service b29381
	* modules/pam_deny/.gitignore: Remove.
Packit Service b29381
	* modules/pam_echo/.gitignore: Remove.
Packit Service b29381
	* modules/pam_env/.gitignore: Remove.
Packit Service b29381
	* modules/pam_exec/.gitignore: Remove.
Packit Service b29381
	* modules/pam_faildelay/.gitignore: Remove.
Packit Service b29381
	* modules/pam_filter/.gitignore: Remove.
Packit Service b29381
	* modules/pam_ftp/.gitignore: Remove.
Packit Service b29381
	* modules/pam_group/.gitignore: Remove.
Packit Service b29381
	* modules/pam_issue/.gitignore: Remove.
Packit Service b29381
	* modules/pam_keyinit/.gitignore: Remove.
Packit Service b29381
	* modules/pam_lastlog/.gitignore: Remove.
Packit Service b29381
	* modules/pam_limits/.gitignore: Remove.
Packit Service b29381
	* modules/pam_listfile/.gitignore: Remove.
Packit Service b29381
	* modules/pam_localuser/.gitignore: Remove.
Packit Service b29381
	* modules/pam_loginuid/.gitignore: Remove.
Packit Service b29381
	* modules/pam_mail/.gitignore: Remove.
Packit Service b29381
	* modules/pam_motd/.gitignore: Remove.
Packit Service b29381
	* modules/pam_namespace/.gitignore: Remove.
Packit Service b29381
	* modules/pam_nologin/.gitignore: Remove.
Packit Service b29381
	* modules/pam_permit/.gitignore: Remove.
Packit Service b29381
	* modules/pam_pwhistory/.gitignore: Remove.
Packit Service b29381
	* modules/pam_rhosts/.gitignore: Remove.
Packit Service b29381
	* modules/pam_rootok/.gitignore: Remove.
Packit Service b29381
	* modules/pam_securetty/.gitignore: Remove.
Packit Service b29381
	* modules/pam_sepermit/.gitignore: Remove.
Packit Service b29381
	* modules/pam_shells/.gitignore: Remove.
Packit Service b29381
	* modules/pam_succeed_if/.gitignore: Remove.
Packit Service b29381
	* modules/pam_time/.gitignore: Remove.
Packit Service b29381
	* modules/pam_tty_audit/.gitignore: Remove.
Packit Service b29381
	* modules/pam_umask/.gitignore: Remove.
Packit Service b29381
	* modules/pam_userdb/.gitignore: Remove.
Packit Service b29381
	* modules/pam_warn/.gitignore: Remove.
Packit Service b29381
	* modules/pam_wheel/.gitignore: Remove.
Packit Service b29381
	* modules/pam_xauth/.gitignore: Remove.
Packit Service b29381
Packit Service b29381
	Move generated auxiliary files to build-aux directory.
Packit Service b29381
	* configure.in: Add AC_CONFIG_AUX_DIR([build-aux]).
Packit Service b29381
Packit Service b29381
	Remove generated files.
Packit Service b29381
	* ABOUT-NLS: Remove.
Packit Service b29381
	* INSTALL: Remove.
Packit Service b29381
	* config.rpath: Remove.
Packit Service b29381
	* install-sh: Remove.
Packit Service b29381
	* mkinstalldirs: Remove.
Packit Service b29381
	* Makefile.am (EXTRA_DIST): Remove config.rpath and mkinstalldirs.
Packit Service b29381
	* .gitignore: Add ABOUT-NLS and INSTALL.
Packit Service b29381
Packit Service b29381
	Create release tarballs using safe ownership and permissions.
Packit Service b29381
	* Makefile.am: Define and export TAR_OPTIONS.
Packit Service b29381
Packit Service b29381
	Generate ChangeLog from git log.
Packit Service b29381
	* .gitignore: Add ChangeLog
Packit Service b29381
	* ChangeLog: Rename to ChangeLog-CVS.
Packit Service b29381
	* Makefile.am (gen-changelog): New rule.
Packit Service b29381
	(dist-hook, .PHONY): Depend on it.
Packit Service b29381
	(EXTRA_DIST): Add ChangeLog-CVS.
Packit Service b29381
	* README-hacking: New file.
Packit Service b29381
	* gitlog-to-changelog: Import from gnulib.
Packit Service b29381
	* autogen.sh: Create empty ChangeLog file to make automake strictness
Packit Service b29381
	check happy.  Use automated "autoreconf -fiv" instead of manual
Packit Service b29381
	invocations of various autotools.
Packit Service b29381
Packit Service b29381
	Fix "make distcheck"
Packit Service b29381
	There is no use to distribute m4 files manually, because automake does
Packit Service b29381
	the right thing, while manual distribution is not only redundant but
Packit Service b29381
	also very fragile.
Packit Service b29381
	* Makefile.am (M4_FILES): Remove.
Packit Service b29381
	(EXTRA_DIST): Remove M4_FILES.
Packit Service b29381
Packit Service b29381
	Remove modules/pam_timestamp/hmacfile from distribution.
Packit Service b29381
	* modules/pam_timestamp/Makefile.am (dist_TESTS): Add tst-pam_timestamp.
Packit Service b29381
	(nodist_TESTS): Add hmacfile.
Packit Service b29381
	(EXTRA_DIST): Replace TESTS with dist_TESTS.
Packit Service b29381
Packit Service b29381
	Rename all .cvsignore files to .gitignore.
Packit Service b29381
Packit Service b29381
	Fix whitespace issues.
Packit Service b29381
	Cleanup trailing whitespaces, indentation that uses spaces before tabs,
Packit Service b29381
	and blank lines at EOF.  Make the project free of warnings reported by
Packit Service b29381
	git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD
Packit Service b29381
Packit Service b29381
Packit Service b29381
See ChangeLog-CVS for earlier changes.