1 |
commit: dca1caedb18ee91a68d763961c339619f065ad1d |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 30 10:57:39 2012 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 30 10:57:39 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=dca1caed |
7 |
|
8 |
MACOSSANDBOX_PROFILE: improve performance/functionality on Lion |
9 |
|
10 |
Lion now logs by default all denied access calls, which slows down |
11 |
considerably. Next allow access to /dev/tty and /dev/dtracehelper which |
12 |
seem useful in general. |
13 |
|
14 |
Patch by Michael Weisner, bug #430640 |
15 |
|
16 |
--- |
17 |
pym/portage/const.py | 4 +++- |
18 |
1 files changed, 3 insertions(+), 1 deletions(-) |
19 |
|
20 |
diff --git a/pym/portage/const.py b/pym/portage/const.py |
21 |
index 8aab65f..a460b7e 100644 |
22 |
--- a/pym/portage/const.py |
23 |
+++ b/pym/portage/const.py |
24 |
@@ -79,11 +79,13 @@ MACOSSANDBOX_PROFILE = '''(version 1) |
25 |
|
26 |
(allow default) |
27 |
|
28 |
-(deny file-write*) |
29 |
+(deny file-write* (with no-log)) |
30 |
|
31 |
(allow file-read* file-write* |
32 |
(literal |
33 |
#"@@WRITEABLE_PREFIX@@" |
34 |
+ #"/dev/tty" |
35 |
+ #"/dev/dtracehelper" |
36 |
) |
37 |
|
38 |
(regex |