aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tst-pidfd.c
AgeCommit message (Collapse)AuthorFilesLines
2023-01-06Update copyright dates with scripts/update-copyrightsJoseph Myers1-1/+1
2022-08-15Linux: Terminate subprocess on late failure in tst-pidfd (bug 29485)Florian Weimer1-2/+5
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-07-29tst-pidfd.c: UNSUPPORTED if we get EPERM on valid pidfd_getfd callMark Wielaard1-0/+7
pidfd_getfd can fail for a valid pidfd with errno EPERM for various reasons in a restricted environment. Use FAIL_UNSUPPORTED in that case. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-05-17linux: Add tst-pidfd.cAdhemerval Zanella1-0/+172
To check for the pidfd functions pidfd_open, pidfd_getfd, pid_send_signal, and waitid with P_PIDFD. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>