Lines Matching refs:pid
73 bool Minijail::Run(struct minijail* jail, vector<char*> args, pid_t* pid) { in Run() argument
74 return minijail_run_pid(jail, args[0], args.data(), pid) == 0; in Run()
78 pid_t pid; in RunSync() local
79 if (Run(jail, args, &pid) && waitpid(pid, status, 0) == pid) { in RunSync()
88 pid_t* pid, in RunPipe() argument
91 return minijail_run_pid_pipes_no_preload(jail, args[0], args.data(), pid, in RunPipe()
94 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, NULL, in RunPipe()
101 pid_t* pid, in RunPipes() argument
106 return minijail_run_pid_pipes_no_preload(jail, args[0], args.data(), pid, in RunPipes()
109 return minijail_run_pid_pipes(jail, args[0], args.data(), pid, stdin, stdout, in RunPipes()
116 pid_t* pid) { in RunAndDestroy() argument
117 bool res = Run(jail, args, pid); in RunAndDestroy()
132 pid_t* pid, in RunPipeAndDestroy() argument
134 bool res = RunPipe(jail, args, pid, stdin); in RunPipeAndDestroy()
141 pid_t* pid, in RunPipesAndDestroy() argument
145 bool res = RunPipes(jail, args, pid, stdin, stdout, stderr); in RunPipesAndDestroy()