Searched refs:enter_userns (Results 1 – 11 of 11) sorted by relevance
| /linux/tools/testing/selftests/namespaces/ |
| H A D | uid_map_range_test.c | 55 static int enter_userns(uid_t *uid, gid_t *gid) in enter_userns() function 105 ret = enter_userns(&uid, &gid); in TEST() 119 ret = enter_userns(&uid, &gid); in TEST() 133 ret = enter_userns(&uid, &gid); in TEST() 147 ret = enter_userns(&uid, &gid); in TEST() 161 ret = enter_userns(&uid, &gid); in TEST() 174 ret = enter_userns(&uid, &gid); in TEST() 187 ret = enter_userns(&uid, &gid); in TEST() 201 ret = enter_userns(&uid, &gid); in TEST() 215 ret = enter_userns(&uid, &gid); in TEST() [all …]
|
| /linux/tools/testing/selftests/filesystems/open_tree_ns/ |
| H A D | open_tree_ns_covered_test.c | 70 static int enter_userns(uid_t uid, gid_t gid) in enter_userns() function 115 if (enter_userns(getuid(), getgid()) || unshare(CLONE_NEWNS)) { in FIXTURE_SETUP() 153 if (enter_userns(0, 0)) in foreign_child()
|
| H A D | open_tree_ns_test.c | 368 if (enter_userns() != 0) in TEST_F() 463 if (enter_userns() != 0) in TEST_F() 539 if (enter_userns() != 0) in TEST_F() 625 if (enter_userns() != 0) in TEST_F() 700 if (enter_userns() != 0) in TEST_F()
|
| /linux/tools/testing/selftests/filesystems/empty_mntns/ |
| H A D | internal_sb_reconfigure_test.c | 52 if (enter_userns()) in empty_mntns_child() 81 if (enter_userns()) in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/filesystems/umount_propagation/ |
| H A D | locked_mount_test.c | 80 static int enter_userns(void) in enter_userns() function 208 if (enter_userns()) in automount_child() 273 if (enter_userns()) in expiry_child() 349 if (enter_userns()) in copied_tree_child() 405 if (enter_userns()) in propagation_child() 486 if (enter_userns() || pipe(pfd)) in ns_file_child()
|
| /linux/tools/testing/selftests/filesystems/mount_cycle/ |
| H A D | overmount_reparent_test.c | 51 static int enter_userns(void) in enter_userns() function 97 if (enter_userns()) { in FIXTURE_SETUP()
|
| H A D | nsfs_rbind_loop_test.c | 61 static int enter_userns(void) in enter_userns() function 105 if (enter_userns()) { in FIXTURE_SETUP()
|
| H A D | overmount_ns_file_test.c | 71 static int enter_userns(void) in enter_userns() function 102 if (enter_userns()) { in FIXTURE_SETUP()
|
| H A D | locked_handle_test.c | 75 static int enter_userns(void) in enter_userns() function 219 ret = enter_userns(); in race_child() 237 ret = enter_userns(); in allowed_child()
|
| H A D | unmounted_tree_test.c | 72 static int enter_userns(void) in enter_userns() function 109 if (enter_userns()) { in FIXTURE_SETUP()
|
| H A D | mount_cover_test.c | 85 static int enter_userns(void) in enter_userns() function 265 if (enter_userns()) { in FIXTURE_SETUP()
|