linux-stable/samples/pidfd
Dmitry V. Levin bee19cd8f2
samples: make pidfd-metadata fail gracefully on older kernels
Initialize pidfd to an invalid descriptor, to fail gracefully on
those kernels that do not implement CLONE_PIDFD and leave pidfd
unchanged.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Christian Brauner <christian@brauner.io>
2019-06-24 15:55:50 +02:00
..
.gitignore
Makefile
pidfd-metadata.c samples: make pidfd-metadata fail gracefully on older kernels 2019-06-24 15:55:50 +02:00