Searched refs:NS_GET_USERNS (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/testing/selftests/filesystems/nsfs/ |
| H A D | owner.c | 17 #define NS_GET_USERNS _IO(NSIO, 0x1) macro 60 uns = ioctl(ns, NS_GET_USERNS); in main() 74 init_uns = ioctl(uns, NS_GET_USERNS); in main() 78 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 84 if (ioctl(ns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 86 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
|
| H A D | pidns.c | 24 #define NS_GET_USERNS _IO(NSIO, 0x1) macro
|
| /linux/include/uapi/linux/ |
| H A D | nsfs.h | 11 #define NS_GET_USERNS _IO(NSIO, 0x1) macro
|
| /linux/tools/include/uapi/linux/ |
| H A D | nsfs.h | 11 #define NS_GET_USERNS _IO(NSIO, 0x1) macro
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | siocgskns_test.c | 702 owner_fd = ioctl(netns_fd, NS_GET_USERNS); in TEST() 1119 userns_fd = ioctl(netns_fd, NS_GET_USERNS); in TEST() 1637 int userns_L3_fd = ioctl(netns_L3A_fd, NS_GET_USERNS); in TEST() 1650 int userns_L2_fd = ioctl(userns_L3_fd, NS_GET_USERNS); in TEST() 1655 int userns_L1_fd = ioctl(userns_L2_fd, NS_GET_USERNS); in TEST()
|
| H A D | ns_active_ref_test.c | 790 int parent_fd2 = ioctl(child_nsfd, NS_GET_USERNS); in TEST()
|
| /linux/fs/ |
| H A D | nsfs.c | 176 case NS_GET_USERNS: in nsfs_ioctl_valid() 233 case NS_GET_USERNS: in ns_ioctl()
|