glibc/sysdeps/unix/sysv/linux/s390/s390-32
Adhemerval Zanella Netto e7190fc73d linux: Add pidfd_getpid
This interface allows to obtain the associated process ID from the
process file descriptor.  It is done by parsing the procps fdinfo
information.  Its prototype is:

   pid_t pidfd_getpid (int fd)

It returns the associated pid or -1 in case of an error and sets the
errno accordingly.  The possible errno values are those from open, read,
and close (used on procps parsing), along with:

   - EBADF if the FD is negative, does not have a PID associated, or if
     the fdinfo fields contain a value larger than pid_t.

   - EREMOTE if the PID is in a separate namespace.

   - ESRCH if the process is already terminated.

Checked on x86_64-linux-gnu on Linux 4.15 (no CLONE_PIDFD or waitid
support), Linux 5.4 (full support), and Linux 6.2.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2023-09-05 13:08:59 -03:00
..
Makefile
Versions Linux: Move wordsize-32 Version to default 2023-02-20 10:19:25 -03:00
____longjmp_chk.c
__makecontext_ret.S
arch-syscall.h Update syscall lists for Linux 6.4 2023-06-28 21:22:14 +00:00
c++-types.data
clone.S
clone3.S s390: Add the clone3 wrapper 2023-07-13 10:26:34 -03:00
getcontext.S
getutent.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
getutent_r.c
getutid.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
getutid_r.c
getutline.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
getutline_r.c
getutmp.c
getutxent.c
getutxid.c
getutxline.c
glob64-lstat-compat.c
kernel_stat.h
ld.abilist
libBrokenLocale.abilist
libanl.abilist
libc.abilist linux: Add pidfd_getpid 2023-09-05 13:08:59 -03:00
libc_malloc_debug.abilist
libcrypt.abilist
libdl.abilist
libm.abilist math: Remove the error handling wrapper from fmod and fmodf 2023-04-03 16:45:27 -03:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil-compat.c
libutil.abilist
login.c
login32.c
makecontext.c
oldglob.c
pointer_guard.h
posix_fadvise64.c
pututxline.c
setcontext.S
swapcontext.S
syscall.S
syscalls.list
sysdep.S
sysdep.h Fix misspellings in sysdeps/unix -- BZ 25337 2023-05-23 11:59:23 +00:00
time64-compat.h
updwtmp.c
updwtmpx.c
utmp-compat.h
utmp-convert.h
utmp32.c
utmp32.h
utmpx-convert.h
utmpx32.c
utmpx32.h
vfork.S