summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pidfd.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-12-11 20:48:50 +0300
committerMark Brown <broonie@kernel.org>2020-12-11 20:48:50 +0300
commit58f7553fa424fd0fd74e8b796d50c66014cebebe (patch)
tree8aecb1d047b1df2abbfa1ef323d2a724a6a61c77 /include/uapi/linux/pidfd.h
parentdd91c555461261fed220ae29a508f508a0afeb43 (diff)
parent9326e4f1e5dd1a4410c429638d3c412b6fc17040 (diff)
downloadlinux-58f7553fa424fd0fd74e8b796d50c66014cebebe.tar.xz
Merge remote-tracking branch 'spi/for-5.10' into spi-linus
Diffstat (limited to 'include/uapi/linux/pidfd.h')
-rw-r--r--include/uapi/linux/pidfd.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/pidfd.h b/include/uapi/linux/pidfd.h
new file mode 100644
index 000000000000..5406fbc13074
--- /dev/null
+++ b/include/uapi/linux/pidfd.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+
+#ifndef _UAPI_LINUX_PIDFD_H
+#define _UAPI_LINUX_PIDFD_H
+
+#include <linux/types.h>
+#include <linux/fcntl.h>
+
+/* Flags for pidfd_open(). */
+#define PIDFD_NONBLOCK O_NONBLOCK
+
+#endif /* _UAPI_LINUX_PIDFD_H */