servo/etc/servo.sb
author Emilio Cobos Álvarez <emilio@crisal.io>
Tue, 17 Oct 2017 11:37:07 +0200
changeset 437466 da7f10ba43442e258c8ffafbd3b20ae5b2e1f805
parent 381520 011d6feca67a86ea040809de94e51c634766265f
permissions -rw-r--r--
Bug 1409079: Simplify WebComponents enabled checks. r=smaug MozReview-Commit-ID: F8WAYvregRu

(version 1)

(deny default)

(allow file*
    (literal "/dev/dtracehelper")
    (literal "/dev/urandom")
    (literal "/dev/null"))

(allow file-read*
    (subpath ""))

(allow file-write*
    (regex #"^/Users/[^/]+/Library/Autosave Information")
    (subpath "/private/var"))

; This is unfortunate...
(allow process-exec
    (regex #"/servo$"))

(deny file-write*
    (regex #"/servo$"))

(allow sysctl-read)
(allow sysctl-write)
(allow ipc-posix-shm)
(allow process-fork)
(allow mach-lookup)
(allow network-outbound)

(debug deny)