Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Side by Side Diff: chrome/common/common.sb

Issue 3155031: [Mac] Disable all sandboxd logging unless running with --enable-sandbox-logging. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: nits Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ;; 1 ;;
2 ;; Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 ;; Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 ;; Use of this source code is governed by a BSD-style license that can be 3 ;; Use of this source code is governed by a BSD-style license that can be
4 ;; found in the LICENSE file. 4 ;; found in the LICENSE file.
5 ;; 5 ;;
6 ; This configuration file isn't used on it's own, but instead implicity included 6 ; This configuration file isn't used on it's own, but instead implicitly
7 ; at the start of all other sandbox configuration files in Chrome. 7 ; included at the start of all other sandbox configuration files in Chrome.
8 (version 1) 8 (version 1)
9 (deny default) 9
10 ; DISABLE_SANDBOX_DENIAL_LOGGING expands to syntax that turns off log message
11 ; printing on sandbox exceptions; this functionality only exists on 10.6. The
12 ; --enable-sandbox-logging flag or system versions <10.6 cause this flag to
13 ; expand to an empty string. http://crbug.com/26621
14 (deny default DISABLE_SANDBOX_DENIAL_LOGGING)
10 15
11 ; Support for programmatically enabling verbose debugging. 16 ; Support for programmatically enabling verbose debugging.
12 ;ENABLE_LOGGING (debug deny) 17 ;ENABLE_LOGGING (debug deny)
13 18
14 ; Allow sending signals to self - http://crbug.com/20370 19 ; Allow sending signals to self - http://crbug.com/20370
15 (allow signal (target self)) 20 (allow signal (target self))
16 21
17 ; Needed for full-page-zoomed controls - http://crbug.com/11325 22 ; Needed for full-page-zoomed controls - http://crbug.com/11325
18 (allow sysctl-read) 23 (allow sysctl-read)
19 24
20 ; Each line is marked with the System version that needs it. 25 ; Each line is marked with the System version that needs it.
21 ; This profile is tested with the following system versions: 26 ; This profile is tested with the following system versions:
22 ; 10.5.6, 10.6 27 ; 10.5.6, 10.6
23 28
24 ; Allow following symlinks 29 ; Allow following symlinks
25 (allow file-read-metadata) ; 10.5.6 30 (allow file-read-metadata) ; 10.5.6
26 31
27 ; Loading System Libraries. 32 ; Loading System Libraries.
28 (allow file-read-data (regex #"^/System/Library/Frameworks($|/)")) ; 10.5.6 33 (allow file-read-data (regex #"^/System/Library/Frameworks($|/)")) ; 10.5.6
29 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks($|/)")) ; 10. 5.6 34 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks($|/)")) ; 10. 5.6
30 (allow file-read-data (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6 35 (allow file-read-data (regex #"^/System/Library/CoreServices($|/)")) ; 10.5.6
31 36
32 ; Needed for IPC on 10.6 37 ; Needed for IPC on 10.6
33 ;10.6_ONLY (allow ipc-posix-shm) 38 ;10.6_ONLY (allow ipc-posix-shm)
OLDNEW
« no previous file with comments | « no previous file | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698