Searched refs:WriteToIdMapFile (Results 1 – 5 of 5) sorted by relevance
35 SANDBOX_TEST(NamespaceUtils, WriteToIdMapFile) { in SANDBOX_TEST() argument55 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/uid_map", uid)); in SANDBOX_TEST()59 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid)); in SANDBOX_TEST()
27 static bool WriteToIdMapFile(const char* map_file,
54 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/uid_map", uid_)); in RunAsyncSafe()55 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid_)); in RunAsyncSafe()
308 PCHECK(NamespaceUtils::WriteToIdMapFile(kGidMapFile, gid)); in MoveToNewUserNS()309 PCHECK(NamespaceUtils::WriteToIdMapFile(kUidMapFile, uid)); in MoveToNewUserNS()
36 bool NamespaceUtils::WriteToIdMapFile(const char* map_file, generic_id_t id) { in WriteToIdMapFile() function in sandbox::NamespaceUtils