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

Side by Side Diff: chrome/browser/utility.sb

Issue 434077: Add regex escaping code to Mac sandbox implementation and re-enable the utility process on OS X. (Closed)
Patch Set: Sync to trunk Created 11 years 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
OLDNEW
1 ;; 1 ;;
2 ;; Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 ;; Copyright (c) 2009 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 is the Sandbox configuration file used for safeguarding the utility 6 ; This is the Sandbox configuration file used for safeguarding the utility
7 ; process which is used for performing sandboxed operations that need to touch 7 ; process which is used for performing sandboxed operations that need to touch
8 ; the filesystem like decoding theme images and unpacking extensions. 8 ; the filesystem like decoding theme images and unpacking extensions.
9 ; 9 ;
10 ; This configuration locks everything down, except access to one configurable 10 ; This configuration locks everything down, except access to one configurable
(...skipping 18 matching lines...) Expand all
29 (allow file-read-metadata) ; 10.5.6 29 (allow file-read-metadata) ; 10.5.6
30 30
31 ; Loading System Libraries. 31 ; Loading System Libraries.
32 (allow file-read-data (regex #"^/System/Library/Frameworks")) ; 10.5.6 32 (allow file-read-data (regex #"^/System/Library/Frameworks")) ; 10.5.6
33 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks")) ; 10.5.6 33 (allow file-read-data (regex #"^/System/Library/PrivateFrameworks")) ; 10.5.6
34 (allow file-read-data (regex #"^/System/Library/CoreServices")) ; 10.5.6 34 (allow file-read-data (regex #"^/System/Library/CoreServices")) ; 10.5.6
35 35
36 ; Needed for IPC on 10.6 36 ; Needed for IPC on 10.6
37 ;10.6_ONLY (allow ipc-posix-shm) 37 ;10.6_ONLY (allow ipc-posix-shm)
38 38
39 ; Enable full access to given directory. 39 ; Enable full access to given directory if needed.
40 (allow file-read* file-write* (regex #"^DIR_TO_ALLOW_ACCESS")) 40 ;ENABLE_DIRECTORY_ACCESS (allow file-read* file-write* (regex #"DIR_TO_ALLOW_ACC ESS"))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698