about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Versions
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-26 16:05:31 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-02 15:43:28 -0300
commitd19ee3473d68ca0e794f3a8b7677a0983ae1342e (patch)
tree54f061e127a813931ddbb30c328978eb26a7b3ef /sysdeps/unix/sysv/linux/Versions
parent7d3e91ba194cc4b5fe1c9017f3bd77533c123b97 (diff)
downloadglibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.tar.gz
glibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.tar.xz
glibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.zip
linux: Add process_madvise
It was added on Linux 5.10 (ecb8ac8b1f146915aa6b96449b66dd48984caacc)
with the same functionality as madvise but using a pidfd of the target
process.

Checked on x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/Versions')
-rw-r--r--sysdeps/unix/sysv/linux/Versions1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 694c64a5bc..c13a3c4fe7 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -303,6 +303,7 @@ libc {
     pidfd_open;
     pidfd_getfd;
     pidfd_send_signal;
+    process_madvise;
   }
   GLIBC_PRIVATE {
     # functions used in other libraries