Home
last modified time | relevance | path

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

/external/minijail/
Dsystem_unittest.cc197 TEST(write_pid_to_path, bad_path) { in TEST() argument
198 EXPECT_NE(0, write_pid_to_path(0, kNoSuchDir)); in TEST()
202 TEST(write_pid_to_path, basic) { in TEST() argument
206 EXPECT_EQ(0, write_pid_to_path(1234, tmp.path.c_str())); in TEST()
Dsystem.h52 int write_pid_to_path(pid_t pid, const char *path);
Dsystem.c235 int write_pid_to_path(pid_t pid, const char *path) in write_pid_to_path() function
Dlibminijail.c1704 if (write_pid_to_path(j->initpid, j->pid_file_path)) in write_pid_file_or_die()
1713 if (write_pid_to_path(j->initpid, j->cgroups[i])) in add_to_cgroups_or_die()