Confirmed users
502
edits
Gdestuynder (talk | contribs) (First attempt) |
Gdestuynder (talk | contribs) 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 == |