diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-01-28 17:13:41 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-05-17 10:33:46 -0300 |
commit | 56cf9e8eec3bdc0ce44efeda373de9d6b825ea1e (patch) | |
tree | 1867665925ea0e43ff9ba08e2c3409f90abf7988 /NEWS | |
parent | 32dd8c251a431c90451092653f0231a4ad2665e5 (diff) | |
download | glibc-56cf9e8eec3bdc0ce44efeda373de9d6b825ea1e.zip glibc-56cf9e8eec3bdc0ce44efeda373de9d6b825ea1e.tar.gz glibc-56cf9e8eec3bdc0ce44efeda373de9d6b825ea1e.tar.bz2 |
linux: Add pidfd_send_signal
This was added on Linux 5.1(3eb39f47934f9d5a3027fe00d906a45fe3a15fad)
as a way to avoid the race condition of using kill (where PID might be
reused by the kernel between between obtaining the pid and sending the
signal).
If the siginfo_t argument is NULL then pidfd_send_signal is equivalent
to kill. If it is not NULL pidfd_send_signal is equivalent to
rt_sigqueueinfo.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,9 +16,9 @@ Major new features: -z pack-relative-relocs option, which is supported for some targets in recent binutils versions. Lazy binding doesn't apply to DT_RELR. -* On Linux, the pidfd_open and pidfd_getfd functions 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 pidfd_open, pidfd_getfd, and pidfd_send_signal functions + have been added. The pidfd functionality provides access to a process + while avoiding the issue of PID reuse on tranditional Unix systems. Deprecated and removed features, and other changes affecting compatibility: |