sandbox: allow certain processes running without sandbox

This commit is contained in:
Xu Cheng 2015-09-15 11:46:56 +08:00
parent 10ab92114e
commit a0372e97d8

View File

@ -152,6 +152,10 @@ class Sandbox
(regex #"^/dev/ttys?[0-9]*$") (regex #"^/dev/ttys?[0-9]*$")
) )
(deny file-write*) ; deny non-whitelist file write operations (deny file-write*) ; deny non-whitelist file write operations
(allow process-exec
(literal "/bin/ps")
(with no-sandbox)
) ; allow certain processes running without sandbox
(allow default) ; allow everything else (allow default) ; allow everything else
EOS EOS