summaryrefslogtreecommitdiffstats
path: root/content/common/common.sb
blob: 5067f984b8db646b80dba1c03e621741cbc761d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
;;
;; Copyright (c) 2011 The Chromium Authors. All rights reserved.
;; Use of this source code is governed by a BSD-style license that can be
;; found in the LICENSE file.
;;
; This configuration file isn't used on it's own, but instead implicitly
; included at the start of all other sandbox configuration files in Chrome.
(version 1)

; DISABLE_SANDBOX_DENIAL_LOGGING expands to syntax that turns off log message
; printing on sandbox exceptions; this functionality only exists on 10.6. The
; --enable-sandbox-logging flag or system versions <10.6 cause this flag to
; expand to an empty string. http://crbug.com/26621
(deny default @DISABLE_SANDBOX_DENIAL_LOGGING@)

; Support for programmatically enabling verbose debugging.
;ENABLE_LOGGING (debug deny)

; Allow sending signals to self - http://crbug.com/20370
(allow signal (target self))

; Needed for full-page-zoomed controls - http://crbug.com/11325
(allow sysctl-read)

; Each line is marked with the System version that needs it.
; This profile is tested with the following system versions:
;     10.5.6, 10.6

; Loading System Libraries.
(allow file-read*
    (regex #"^/System/Library/Frameworks($|/)")
    (regex #"^/System/Library/PrivateFrameworks($|/)")
    (regex #"^/System/Library/CoreServices($|/)"))  ; 10.5.6

; Needed for IPC on 10.6
;10.6_OR_ABOVE (allow ipc-posix-shm)