Message ID | 20230824164219.391263-1-adhemerval.zanella@linaro.org |
---|---|
Headers | show |
Series | Add pidfd and cgroupv2 support for process creation | expand |
> The glibc 2.36 added wrappers for Linux syscall pidfd_open, > pidfd_getfd, > and pidfd_send_signal, and exported the P_PIDFD to use along with > waitid. The pidfd is a race-free interface, however, the pidfd_open > is > subject to TOCTOU if the file descriptor is not obtained directly > from > the clone or clone3 syscall (there is still a small window between > the > clone return and the pidfd_getfd where the process can be reaped and > the > process ID reused). Thanks, this looks great and will make use of all these new APIs from systemd as soon as they are available, so for the series: Acked-by: Luca Boccassi <bluca@debian.org>