linux/include/uapi/linux/pidfd.h

/* 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>
#include <linux/ioctl.h>

/* Flags for pidfd_open().  */
#define PIDFD_NONBLOCK
#define PIDFD_THREAD

/* Flags for pidfd_send_signal(). */
#define PIDFD_SIGNAL_THREAD
#define PIDFD_SIGNAL_THREAD_GROUP
#define PIDFD_SIGNAL_PROCESS_GROUP

#define PIDFS_IOCTL_MAGIC

#define PIDFD_GET_CGROUP_NAMESPACE
#define PIDFD_GET_IPC_NAMESPACE
#define PIDFD_GET_MNT_NAMESPACE
#define PIDFD_GET_NET_NAMESPACE
#define PIDFD_GET_PID_NAMESPACE
#define PIDFD_GET_PID_FOR_CHILDREN_NAMESPACE
#define PIDFD_GET_TIME_NAMESPACE
#define PIDFD_GET_TIME_FOR_CHILDREN_NAMESPACE
#define PIDFD_GET_USER_NAMESPACE
#define PIDFD_GET_UTS_NAMESPACE

#endif /* _UAPI_LINUX_PIDFD_H */