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 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index ad0c08d8ca..5032f5fce5 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,10 @@ Major new features: have been added. The pidfd functionality provides access to a process while avoiding the issue of PID reuse on tranditional Unix systems. +* On Linux, the process_madvise function has been added. It has the + same functionality as madvise but alters the target process identified + by the pidfd. + Deprecated and removed features, and other changes affecting compatibility: * Support for prelink will be removed in the next release; this includes -- cgit v1.2.3