PAM

~roguescholar/pam/+git/upstream:ldv/pam_exec-free

Last commit made on 2022-02-24
Get this branch:
git clone -b ldv/pam_exec-free https://git.launchpad.net/~roguescholar/pam/+git/upstream

Branch merges

Branch information

Name:
ldv/pam_exec-free
Repository:
lp:~roguescholar/pam/+git/upstream

Recent commits

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/

93f1b82... by Emilio Herrera <email address hidden>

po: update translations using Weblate (Spanish)

Currently translated at 82.0% (82 of 100 strings).

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

fc2bed8... by simmon <email address hidden>

po: update translations using Weblate (Korean)

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

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