From d19ee3473d68ca0e794f3a8b7677a0983ae1342e Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 26 Jan 2022 16:05:31 -0300 Subject: 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 --- posix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/Makefile b/posix/Makefile index cfebb8ef06..d1df7c27cb 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -32,7 +32,7 @@ headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \ bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h \ bits/sched.h bits/cpu-set.h re_comp.h wait.h bits/environments.h \ cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h \ - bits/unistd_ext.h bits/types/idtype_t.h + bits/unistd_ext.h bits/types/idtype_t.h bits/mman_ext.h routines := \ uname \ -- cgit 1.4.1