Files
chandu078 426728c8ce topaz-kernel: Add headers for msm-5.15
* Taken from 5.15.74

Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I8b22703b0f1c05d515cb14268fd131adb40be8e8
2023-10-25 11:03:11 +07:00

20 lines
639 B
C

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __LINUX_NSFS_H
#define __LINUX_NSFS_H
#include <linux/ioctl.h>
#define NSIO 0xb7
/* Returns a file descriptor that refers to an owning user namespace */
#define NS_GET_USERNS _IO(NSIO, 0x1)
/* Returns a file descriptor that refers to a parent namespace */
#define NS_GET_PARENT _IO(NSIO, 0x2)
/* Returns the type of namespace (CLONE_NEW* value) referred to by
file descriptor */
#define NS_GET_NSTYPE _IO(NSIO, 0x3)
/* Get owner UID (in the caller's user namespace) for a user namespace */
#define NS_GET_OWNER_UID _IO(NSIO, 0x4)
#endif /* __LINUX_NSFS_H */