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 /sysdeps/unix/sysv/linux/Versions | |
parent | f4724843ada64a51d66f65d3199fe431f9d4c254 (diff) | |
download | glibc-921efb18ef26cc0dcd024b083a7b22b6d2ccbc0d.tar.gz glibc-921efb18ef26cc0dcd024b083a7b22b6d2ccbc0d.tar.xz glibc-921efb18ef26cc0dcd024b083a7b22b6d2ccbc0d.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 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r-- | sysdeps/unix/sysv/linux/Versions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 268ba1b6ac..65da2b617a 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -328,6 +328,9 @@ libc { posix_spawnattr_getcgroup_np; posix_spawnattr_setcgroup_np; } + GLIBC_2.40 { + openat2; + } GLIBC_PRIVATE { # functions used in other libraries __syscall_rt_sigqueueinfo; |