Home
last modified time | relevance | path

Searched refs:userns_fd (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c111 __u64 userns_fd; member
1079 .userns_fd = -EBADF, in TEST_F()
1097 .userns_fd = INT64_MAX, in TEST_F()
1125 attr.userns_fd = fd; in TEST_F()
1150 attr.userns_fd = open("/proc/1/ns/user", O_RDONLY | O_CLOEXEC); in TEST_F()
1151 ASSERT_GE(attr.userns_fd, 0); in TEST_F()
1154 ASSERT_EQ(close(attr.userns_fd), 0); in TEST_F()
1260 attr.userns_fd = get_userns_fd(0, 10000, 10000); in TEST_F()
1261 ASSERT_GE(attr.userns_fd, 0); in TEST_F()
1263 ASSERT_EQ(close(attr.userns_fd), 0); in TEST_F()
[all …]
/Linux-v6.1/tools/include/uapi/linux/
Dmount.h133 __u64 userns_fd; member
/Linux-v6.1/include/uapi/linux/
Dmount.h133 __u64 userns_fd; member
/Linux-v6.1/fs/
Dnamespace.c4210 if (attr->userns_fd > INT_MAX) in build_mount_idmapped()
4213 file = fget(attr->userns_fd); in build_mount_idmapped()