d6257e2...
by
Stefan Schubert <email address hidden>
on 2021-12-03
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>
on 2022-02-24
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
on 2022-02-23
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
on 2022-02-23
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>
on 2022-02-23
pam_nologin: don't print empty message
2f28987...
by
Stefan Schubert <email address hidden>
on 2022-02-17
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>
on 2022-02-17
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>
on 2022-01-24
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>
on 2021-12-08
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
on 2021-12-08
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/