diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-23 16:45:59 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-23 16:53:42 -0300 |
commit | 921efb18ef26cc0dcd024b083a7b22b6d2ccbc0d (patch) | |
tree | 98d9659a9195ad5277f66e20a9a449aca2f681dd /gshadow/sgetsgent.c | |
parent | f4724843ada64a51d66f65d3199fe431f9d4c254 (diff) | |
download | glibc-azanella/bz31664-openat2.zip glibc-azanella/bz31664-openat2.tar.gz glibc-azanella/bz31664-openat2.tar.bz2 |
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 'gshadow/sgetsgent.c')
0 files changed, 0 insertions, 0 deletions