1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux 1 2 3 #ifndef _UAPI_LINUX_PIDFD_H 4 #define _UAPI_LINUX_PIDFD_H 5 6 #include <linux/types.h> 7 #include <linux/fcntl.h> 8 #include <linux/ioctl.h> 9 10 /* Flags for pidfd_open(). */ 11 #define PIDFD_NONBLOCK O_NONBLOCK 12 #define PIDFD_THREAD O_EXCL 13 14 /* Flags for pidfd_send_signal(). */ 15 #define PIDFD_SIGNAL_THREAD (1UL < 16 #define PIDFD_SIGNAL_THREAD_GROUP (1UL < 17 #define PIDFD_SIGNAL_PROCESS_GROUP (1UL < 18 19 #define PIDFS_IOCTL_MAGIC 0xFF 20 21 #define PIDFD_GET_CGROUP_NAMESPACE 22 #define PIDFD_GET_IPC_NAMESPACE 23 #define PIDFD_GET_MNT_NAMESPACE 24 #define PIDFD_GET_NET_NAMESPACE 25 #define PIDFD_GET_PID_NAMESPACE 26 #define PIDFD_GET_PID_FOR_CHILDREN_NAMESPACE 27 #define PIDFD_GET_TIME_NAMESPACE 28 #define PIDFD_GET_TIME_FOR_CHILDREN_NAMESPACE 29 #define PIDFD_GET_USER_NAMESPACE 30 #define PIDFD_GET_UTS_NAMESPACE 31 32 #endif /* _UAPI_LINUX_PIDFD_H */ 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.