Home
last modified time | relevance | path

Searched refs:WriteToIdMapFile (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dnamespace_utils_unittest.cc35 SANDBOX_TEST(NamespaceUtils, WriteToIdMapFile) { in SANDBOX_TEST() argument
55 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()
Dnamespace_utils.h27 static bool WriteToIdMapFile(const char* map_file,
Dnamespace_sandbox.cc54 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/uid_map", uid_)); in RunAsyncSafe()
55 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid_)); in RunAsyncSafe()
Dcredentials.cc308 PCHECK(NamespaceUtils::WriteToIdMapFile(kGidMapFile, gid)); in MoveToNewUserNS()
309 PCHECK(NamespaceUtils::WriteToIdMapFile(kUidMapFile, uid)); in MoveToNewUserNS()
Dnamespace_utils.cc36 bool NamespaceUtils::WriteToIdMapFile(const char* map_file, generic_id_t id) { in WriteToIdMapFile() function in sandbox::NamespaceUtils