]> git.ipfire.org Git - thirdparty/glibc.git/commit
debug: Fix clang open fortify wrapper (BZ 31927)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 25 Jun 2024 14:57:15 +0000 (11:57 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 27 Jun 2024 16:32:48 +0000 (13:32 -0300)
commit4228baef1a94e8bde84ad74f2e0358120a2bcac7
tree1b6ff25a2c1b643a6085432ff3c4e9cdbc3fc884
parentc5579f3a713a631c4b5e2e3788ec715fbffd5af6
debug: Fix clang open fortify wrapper (BZ 31927)

The fcntl.h fortify wrapper for clang added by 86889e22db329abac61
missed the __fortify_clang_overload_arg and and also added the
mode argument for the __fortify_function_error_function function,
which leads clang to be able to correct resolve which overloaded
function it should emit.

Checked on x86_64-linux-gnu.

Reported-by: Khem Raj <raj.khem@gmail.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
io/bits/fcntl2.h