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

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

Issue 5580002: Mac: Tell the GPU sandbox to deny a few things. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser tests pass Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/chrome_switches.cc » ('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 6
7 ; *** The contents of chrome/common/common.sb are implicitly included here. *** 7 ; *** The contents of chrome/common/common.sb are implicitly included here. ***
8 8
9 ; TODO(thakis): Deny most things by default. 9 ; The GPU process opens a shared memory file to communicate with the renderer.
10 (allow default) 10 ; This is backed by a file in /var/folders.
11 ; TODO(thakis): It would be better if the browser allocated the pipe and handed
12 ; the handles to renderer and GPU process. Then this would'be be
13 ; needed. http://crbug.com/65344
jeremy 2010/12/05 08:04:50 I think giving the GPU process full access to /tmp
14 (allow file-read* file-write* (regex "^/(private/)?(tmp|var)(/|$)"))
15
16 ; Allow communication between the GPU process and the UI server.
17 (allow mach-lookup (global-name "com.apple.tsm.uiserver"))
18
19 (allow file-read-metadata (literal "/"))
OLDNEW
« no previous file with comments | « no previous file | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698