Home | History | Annotate | Download | only in sandbox_linux

Lines Matching refs:process_type

112 // If a BPF policy is engaged for |process_type|, run a few sanity checks.
113 void RunSandboxSanityChecks(const std::string& process_type) {
114 if (process_type == switches::kRendererProcess ||
115 process_type == switches::kGpuProcess ||
116 process_type == switches::kPpapiPluginProcess) {
176 const std::string& process_type) {
179 if (process_type == switches::kGpuProcess) {
181 } else if (process_type == switches::kRendererProcess) {
183 } else if (process_type == switches::kPpapiPluginProcess) {
185 } else if (process_type == switches::kUtilityProcess) {
195 RunSandboxSanityChecks(process_type);
200 const std::string& process_type) {
227 const std::string& process_type) {
231 if (process_type == switches::kGpuProcess)
256 bool SandboxSeccompBPF::StartSandbox(const std::string& process_type) {
262 ShouldEnableSeccompBPF(process_type) && // Process-specific policy.
266 bool started_sandbox = StartBPFSandbox(command_line, process_type);