]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: fix close_range() use
authorKarel Zak <kzak@redhat.com>
Wed, 14 Jul 2021 15:25:57 +0000 (17:25 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:59:53 +0000 (11:59 +0200)
commit937fe5d9c59f52a2557f683c1f764b4cb5b170c4
tree1293ef3bae6ff318452cb7876456834cc58d156a
parent1bb08cfc0120efdce1b91db9cda24aa68c33651b
login: fix close_range() use

This new syscall comes with three arguments (see kernel commit
278a5fbaed89dacd04e9d052f4594ffd0e0585de). Not sure why util-linux
assume only two.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1981729
Signed-off-by: Karel Zak <kzak@redhat.com>
include/fileutils.h
lib/fileutils.c
login-utils/login.c