diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-26 16:05:31 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-06-02 15:43:28 -0300 |
| commit | d19ee3473d68ca0e794f3a8b7677a0983ae1342e (patch) | |
| tree | 54f061e127a813931ddbb30c328978eb26a7b3ef /sysdeps/unix/sysv/linux/Makefile | |
| parent | 7d3e91ba194cc4b5fe1c9017f3bd77533c123b97 (diff) | |
| download | 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/Makefile')
| -rw-r--r-- | sysdeps/unix/sysv/linux/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 98b2324a21..627506daad 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -131,6 +131,11 @@ tests += tst-clone tst-clone2 tst-clone3 tst-fanotify tst-personality \ tst-pidfd \ # tests +# process_madvise requires CAP_SYS_ADMIN. +xtests += \ + tst-process_madvise \ + # xtests + # For +depfiles in Makerules. extra-test-objs += tst-sysconf-iov_max-uapi.o |
