Searched refs:switch_userns (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/tools/testing/selftests/filesystems/ |
| H A D | utils.h | 31 static inline bool switch_userns(int fd, uid_t uid, gid_t gid, bool drop_caps) in switch_userns() function
|
| /linux-6.15/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 358 if (!switch_userns(fd_userns2, 0, 0, false)) { in TEST_F() 382 ASSERT_EQ(switch_userns(fd_userns1, 0, 0, false), true); in TEST_F()
|