linux/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 samples: add .gitignore for pidfd-metadata 2019-05-10 11:50:52 +02:00
Makefile samples: show race-free pidfd metadata access 2019-05-07 14:31:04 +02:00
pidfd-metadata.c samples: make pidfd-metadata fail gracefully on older kernels 2019-06-24 15:55:50 +02:00