Security/Sandbox/Seccomp: Difference between revisions

Jump to navigation Jump to search
no edit summary
(First attempt)
 
No edit summary
Line 69: Line 69:


   SetCurrentProcessSandbox(void)
   SetCurrentProcessSandbox(void)
=== How do I check my processes are sandboxed by seccomp? ===
There is a seccomp flag in the process status:
Replace <pid> by the process's PID.
  grep Seccomp /proc/<pid>/status
* 0: Seccomp is not enabled (bad!)
* 1: Seccomp is enabled (shouldn't happen)
* 2: Seccomp-bpf is enabled (correct)
On B2G, you can find out your PIDs by using the command ''b2g-ps''


== More information ==
== More information ==
Confirmed users
502

edits

Navigation menu