about summary refs log tree commit diff
path: root/elf/constload2.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-23 16:45:59 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-23 16:53:42 -0300
commit921efb18ef26cc0dcd024b083a7b22b6d2ccbc0d (patch)
tree98d9659a9195ad5277f66e20a9a449aca2f681dd /elf/constload2.c
parentf4724843ada64a51d66f65d3199fe431f9d4c254 (diff)
downloadglibc-azanella/bz31664-openat2.tar.gz
glibc-azanella/bz31664-openat2.tar.xz
glibc-azanella/bz31664-openat2.zip
linux: Add openat2 (BZ 31664) azanella/bz31664-openat2
It was added on Linux 5.6, as an extension of openat.  Different
than other open-like function, the kernel only provides the LFS
variant (so files larger than 4GB always succeed, as other functions
with offset larget than off_t).  Similar to other open function,
the new symbol is a cancellable entrypoint.

The testcase added only stress some of the syscall provided
functionalities and it is based on existent kernel selftest.  Since
the prototype does not use variadic arguments, there is no need to
add fortify wrapper to catch wrong usages.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'elf/constload2.c')
0 files changed, 0 insertions, 0 deletions