]> 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>
Wed, 14 Jul 2021 15:25:57 +0000 (17:25 +0200)
commitb8d99a618baffb4fc03cda4c40e29778b6d77ad4
tree803db844a8491bc3482fd63259b81c11b79635e0
parent50a3c3bd28047dbcfdda3b4da99110279eb76ac4
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