Home
last modified time | relevance | path

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

/external/minijail/
Dsystem_unittest.cc77 TEST(write_pid_to_path, bad_path) { in TEST() argument
78 EXPECT_NE(0, write_pid_to_path(0, kNoSuchDir)); in TEST()
82 TEST(write_pid_to_path, basic) { in TEST() argument
86 EXPECT_EQ(0, write_pid_to_path(1234, tmp.path.c_str())); in TEST()
Dsystem.h49 int write_pid_to_path(pid_t pid, const char *path);
Dsystem.c222 int write_pid_to_path(pid_t pid, const char *path) in write_pid_to_path() function
Dlibminijail.c2169 if (write_pid_to_path(j->initpid, j->pid_file_path)) in write_pid_file_or_die()
2178 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()