Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 7 | #ifndef __LINUX_NSFS_H |
| 8 | #define __LINUX_NSFS_H |
| 9 | #include <linux/ioctl.h> |
Christopher Ferris | 63fcca4 | 2024-09-26 01:12:10 +0000 | [diff] [blame] | 10 | #include <linux/types.h> |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 11 | #define NSIO 0xb7 |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 12 | #define NS_GET_USERNS _IO(NSIO, 0x1) |
| 13 | #define NS_GET_PARENT _IO(NSIO, 0x2) |
Christopher Ferris | 525ce91 | 2017-07-26 13:12:53 -0700 | [diff] [blame] | 14 | #define NS_GET_NSTYPE _IO(NSIO, 0x3) |
| 15 | #define NS_GET_OWNER_UID _IO(NSIO, 0x4) |
Christopher Ferris | 63fcca4 | 2024-09-26 01:12:10 +0000 | [diff] [blame] | 16 | #define NS_GET_MNTNS_ID _IOR(NSIO, 0x5, __u64) |
| 17 | #define NS_GET_PID_FROM_PIDNS _IOR(NSIO, 0x6, int) |
| 18 | #define NS_GET_TGID_FROM_PIDNS _IOR(NSIO, 0x7, int) |
| 19 | #define NS_GET_PID_IN_PIDNS _IOR(NSIO, 0x8, int) |
| 20 | #define NS_GET_TGID_IN_PIDNS _IOR(NSIO, 0x9, int) |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 21 | #endif |