1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

linux: Add process_mrelease

Added in Linux 5.15 (884a7e5964e06ed93c7771c0d7cf19c09a8946f1), the new
syscalls allows a caller to free the memory of a dying target process.

Checked on x86_64-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Adhemerval Zanella
2022-01-28 12:53:52 +00:00
parent d19ee3473d
commit 1002f1af1c
39 changed files with 129 additions and 0 deletions

View File

@ -30,4 +30,6 @@ extern __ssize_t process_madvise (int __pid_fd, const struct iovec* __iov,
unsigned __flags)
__THROW;
extern int process_mrelease (int pidfd, unsigned int flags) __THROW;
#endif /* __USE_GNU */