Home
last modified time | relevance | path

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

/external/minijail/
Dsystem_unittest.cc161 TEST(write_pid_to_path, bad_path) { in TEST() argument
162 EXPECT_NE(0, write_pid_to_path(0, kNoSuchDir)); in TEST()
166 TEST(write_pid_to_path, basic) { in TEST() argument
170 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.c221 int write_pid_to_path(pid_t pid, const char *path) in write_pid_to_path() function
Dlibminijail.c1889 if (write_pid_to_path(j->initpid, j->pid_file_path)) in write_pid_file_or_die()
1898 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()