PAM

~roguescholar/pam/+git/upstream:ldv/tst-pam_env-retval

Last commit made on 2022-03-11
Get this branch:
git clone -b ldv/tst-pam_env-retval https://git.launchpad.net/~roguescholar/pam/+git/upstream

Branch merges

Branch information

Name:
ldv/tst-pam_env-retval
Repository:
lp:~roguescholar/pam/+git/upstream

Recent commits

d6257e2... by Stefan Schubert <email address hidden>

pam_env: add a test of return values

* modules/pam_env/tst-pam_env-retval.c: New file.
* modules/pam_env/Makefile.am (TESTS): Add $(check_PROGRAMS).
(check_PROGRAMS, tst_pam_env_retval_LDADD): New variables.

Co-authored-by: Dmitry V. Levin <email address hidden>

23393be... by Thorsten Kukuk <email address hidden>

pam_access: handle hostnames in access.conf

According to the manual page, the following entry is valid but does not
work:
-:root:ALL EXCEPT localhost

See https://bugzilla.suse.com/show_bug.cgi?id=1019866

Patched is based on PR#226 from Josef Moellers

9e800c2... by Dmitry V. Levin

pam_exec: remove redundant free() invocations

In the child process, freeing memory right before pam_syslog()
followed by _exit(ENOMEM) is useless.

* modules/pam_exec/pam_exec.c (call_exec): Do not call free(envlist).

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

7c660b5... by Dmitry V. Levin

pam_exec: remove redundant strdup

In the child process, the elements of argv[] are not modified, so there
is no need to copy strings.

* modules/pam_exec/pam_exec.c (call_exec): Do not call strdup on argv[]
elements during arggv[] initialization.

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

b95a6d4... by Thorsten Kukuk <email address hidden>

pam_nologin: don't print empty message

2f28987... by Stefan Schubert <email address hidden>

pam_time: fix clang compilation warning

Fix the following compilation warning reported by clang:
"result of comparison against a string literal is unspecified
(use strcmp instead)".

* pam_time.c (_pam_parse): Do not compare char* string with a constant.

370064e... by Iker Pedrosa <email address hidden>

pam_usertype: only use SYS_UID_MAX for system users

* modules/pam_usertype/pam_usertype.c (pam_usertype_is_system): Stop
using SYS_UID_MIN to check if it is a system account, because all
accounts below the SYS_UID_MAX are system users.
* modules/pam_usertype/pam_usertype.8.xml: Remove reference to SYS_UID_MIN
as it is no longer used to calculate the system accounts.
* configure.ac: Remove PAM_USERTYPE_SYSUIDMIN.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1949137
Signed-off-by: Iker Pedrosa <email address hidden>

a35e092... by Iker Pedrosa <email address hidden>

pam_keyinit: thread-safe implementation

* modules/pam_keyinit/pam_keyinit.c: Bypass setre*id() C library calls
with kernel calls and change global variables definitions to be
thread-safe.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1997969
Signed-off-by: Iker Pedrosa <email address hidden>
Co-Authored-By: Andreas Schneider <email address hidden>

feef4eb... by pan chenbo <email address hidden>

po: update translations using Weblate (Chinese (Simplified) (zh_CN))

Currently translated at 100.0% (100 of 100 strings).

Translate-URL: https://translate.fedoraproject.org/projects/linux-pam/master/zh_CN/

a83f553... by gogo

po: update translations using Weblate (Croatian)

Currently translated at 100.0% (100 of 100 strings).

Translate-URL: https://translate.fedoraproject.org/projects/linux-pam/master/hr/