mirror of git://sourceware.org/git/glibc.git
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> |
||
---|---|---|
.. | ||
acct.h | ||
epoll.h | ||
eventfd.h | ||
fanotify.h | ||
fsuid.h | ||
inotify.h | ||
kd.h | ||
klog.h | ||
mount.h | ||
pci.h | ||
personality.h | ||
pidfd.h | ||
prctl.h | ||
procfs.h | ||
ptrace.h | ||
quota.h | ||
raw.h | ||
reboot.h | ||
rseq.h | ||
signalfd.h | ||
soundcard.h | ||
swap.h | ||
syscall.h | ||
sysinfo.h | ||
timerfd.h | ||
timex.h | ||
ttydefaults.h | ||
user.h | ||
vt.h |