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 /misc | |
parent | 7d3e91ba194cc4b5fe1c9017f3bd77533c123b97 (diff) | |
download | glibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.tar glibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.tar.gz glibc-d19ee3473d68ca0e794f3a8b7677a0983ae1342e.tar.bz2 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 'misc')
-rw-r--r-- | misc/sys/mman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index 311d44cfb1..02896a0acc 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -146,6 +146,9 @@ extern int shm_open (const char *__name, int __oflag, mode_t __mode); /* Remove shared memory segment. */ extern int shm_unlink (const char *__name); +/* System-specific extensions. */ +#include <bits/mman_ext.h> + __END_DECLS #endif /* sys/mman.h */ |