PAM

~roguescholar/pam/+git/upstream:ldv/next

Last commit made on 2024-04-09
Get this branch:
git clone -b ldv/next https://git.launchpad.net/~roguescholar/pam/+git/upstream

Branch merges

Branch information

Name:
ldv/next
Repository:
lp:~roguescholar/pam/+git/upstream

Recent commits

9438e08... by "Dmitry V. Levin" <email address hidden>

Prepare for 1.6.1 release

* configure.ac (AC_INIT): Raise version to 1.6.1.
* po/Linux-PAM.pot (Project-Id-Version): Likewise.
* NEWS: Update.

Resolves: https://github.com/linux-pam/linux-pam/issues/774

d46fb55... by "Dmitry V. Levin" <email address hidden>

po: update .pot and .po files

Regenerate po/Linux-PAM.pot and po/*.po using "make -C po update-po"
command. This essentially updates the line numbers and timestamps.

ff2d131... by "Dmitry V. Levin" <email address hidden>

configure.ac: do not check for headers that are included unconditionally

* configure.ac (AC_HEADER_STDC, AC_HEADER_TIME): Remove.
(AC_CHECK_HEADERS): Remove fcntl.h, limits.h, malloc.h, sys/file.h,
sys/ioctl.h, sys/time.h, syslog.h, net/if.h, termio.h, unistd.h,
sys/fsuid.h, and inittypes.h.

7b87f9f... by "Dmitry V. Levin" <email address hidden>

doc: fix pam_get_data manual regarding PAM_NO_MODULE_DATA return value

pam_get_data manual page used to claim that PAM_NO_MODULE_DATA is
returned not only when no module specific data is present but also
when there is a corresponding data entry with NULL value.

As this claim is in contradiction with the implementation and with the
pam manual page, fix pam_get_data manual page.

* doc/man/pam_get_data.3.xml (PAM_NO_MODULE_DATA): Sync with
the implementation and with the pam manual page.

Resolves: https://github.com/linux-pam/linux-pam/pull/780

8c3b940... by "Dmitry V. Levin" <email address hidden>

tests: check pam_get_data PAM_NO_MODULE_DATA return value semantics

* tests/tst-pam_get_data.c (main): Check that PAM_NO_MODULE_DATA is
returned by pam_get_data iff the corresponding data is not present.

f6fe98b... by "Dmitry V. Levin" <email address hidden>

tests: cleanup tst-pam_get_data to use test_assert.h framework

* tests/tst-pam_get_data.c: Include "test_assert.h".
(main): Rewrite using ASSERT_EQ() and ASSERT_NE() macros.

09aa326... by Marco Trevisan (TreviƱo)

tests: Add some pam_get_data tests

The function was not tested, so add some basic testing to it.

88eccae... by Aura Herrero Ruiz <email address hidden>

doc: fix uses of non-neutral gender pronouns

ce8aa21... by "Dmitry V. Levin" <email address hidden>

pam_start.c: do not call bindtextdomain() unless nls is enabled

Call bindtextdomain() only when both the function is available and
the build is configured with --enable-nls.

* libpam/pam_start.c (_pam_start_internal): Guard bindtextdomain()
invocation with ENABLE_NLS.

Complements: v1.6.0~244 ("pam_start.c: call bindtextdomain() to expose Linux-PAM locales")
Resolves: https://github.com/linux-pam/linux-pam/pull/773

78e3988... by Thorsten Kukuk <email address hidden>

pam_env: document when the module is executed

Document that pam_env.so is only called by pam_setcred() and
not by pam_authenticate() when added to the auth stack.

Resolves: https://github.com/linux-pam/linux-pam/issues/680
Signed-off-by: Thorsten Kukuk <email address hidden>