aboutsummaryrefslogtreecommitdiff
path: root/libpam/pam_misc.c
diff options
context:
space:
mode:
authorIker Pedrosa <ipedrosa@redhat.com>2023-10-25 09:46:15 +0200
committerIker Pedrosa <ipedrosa@redhat.com>2023-10-25 16:09:26 +0200
commitd6103b30050554d7b6ca6d55cb5b4ed3c9516663 (patch)
tree57c4d161626a76a74c3abce684a944a3d6d075b9 /libpam/pam_misc.c
parentda484d7243a18c5b3a572274d08c9f8f1b7f7b1d (diff)
downloadpam-d6103b30050554d7b6ca6d55cb5b4ed3c9516663.tar.gz
pam-d6103b30050554d7b6ca6d55cb5b4ed3c9516663.tar.bz2
pam-d6103b30050554d7b6ca6d55cb5b4ed3c9516663.zip
libpam: use close_range() to close file descriptors
* configure.ac: check whether close_range() is available in the system. * libpam/pam_modutil_sanitize.c: use close_range() to close all file descriptors. If the interface isn't available use the previous approach. Link: https://github.com/linux-pam/linux-pam/pull/276 Resolves: https://issues.redhat.com/browse/RHEL-5099 Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Diffstat (limited to 'libpam/pam_misc.c')
0 files changed, 0 insertions, 0 deletions