PAM

~roguescholar/pam/+git/upstream:ldv/pam_env-reorder-static-functions

Last commit made on 2022-04-24
Get this branch:
git clone -b ldv/pam_env-reorder-static-functions https://git.launchpad.net/~roguescholar/pam/+git/upstream

Branch merges

Branch information

Name:
ldv/pam_env-reorder-static-functions
Repository:
lp:~roguescholar/pam/+git/upstream

Recent commits

d3b73b6... by Dmitry V. Levin

pam_env: reorder definitions of static functions to avoid forward declarations

* modules/pam_env/pam_env.c (_assemble_line, _parse_line, _check_var,
_clean_var, _expand_arg, _pam_get_item_byname, _define_var,
_undefine_var): Move definitions of static functions before their first
use to avoid forward declarations cluttering the code.

095af08... by Dmitry V. Levin

pam_issue: reorder definitions of static functions to avoid forward declarations

* modules/pam_issue/pam_issue.c (read_issue_raw, read_issue_quoted):
Move definitions of static functions before their first use to avoid
forward declarations cluttering the code.

d19827d... by A S Alam <email address hidden>

po: update translations using Weblate (Punjabi)

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

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

3d537b7... by Seong-ho Cho

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/

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.