OLD | NEW |
---|---|
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 (allow file-read* file-write* (regex "^/(private/)?(tmp|var)(/|$)")) | |
jeremy
2010/12/03 14:22:09
I'm a bit apprehensive about opening this since th
Nico
2010/12/04 00:26:10
Worth thinking about…I've filed a bug and put in a
Nico
2010/12/04 01:58:36
Turns out that the ringbuffer creation fails if I
| |
12 | |
13 ; Without this, the GPU process prints | |
14 ; *** CFMessagePort: bootstrap_register(): failed 268435459 (0x10000003) '(ipc/s end) invalid destination port', port = 0x5907, name = 'com.apple.tsm.portname' | |
15 ; That's probably harmless, but allowing the look-up is also probably harmless. | |
jeremy
2010/12/03 14:22:09
I don't think you need this comment. Perhaps some
Nico
2010/12/04 00:26:10
Done.
jeremy
2010/12/05 08:04:50
Are you sure you need this? Does this cause thing
| |
16 (allow mach-lookup (global-name "com.apple.tsm.uiserver")) | |
17 | |
18 ; From renderer.sb | |
jeremy
2010/12/03 14:22:09
Could you change this comment to the system call t
Nico
2010/12/04 00:26:10
Done, removed the comment.
| |
19 (allow file-read-metadata (literal "/")) | |
OLD | NEW |