summaryrefslogtreecommitdiff
path: root/samples/hw_breakpoint
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2019-06-23 14:28:00 +0300
committerChristian Brauner <christian@brauner.io>2019-06-24 15:55:50 +0200
commitbee19cd8f241ab3cd1bf79e03884e5371f9ef514 (patch)
tree49430f9d17dcbc8c1d47b1cd5b15426a5ec6ba0d /samples/hw_breakpoint
parent9014143bab2f3bc0b9e5db3bc8d00e2a43e50fbd (diff)
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>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions