From dca1caedb18ee91a68d763961c339619f065ad1d Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 30 Sep 2012 12:57:39 +0200 Subject: [PATCH] MACOSSANDBOX_PROFILE: improve performance/functionality on Lion Lion now logs by default all denied access calls, which slows down considerably. Next allow access to /dev/tty and /dev/dtracehelper which seem useful in general. Patch by Michael Weisner, bug #430640 --- pym/portage/const.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/portage/const.py b/pym/portage/const.py index 8aab65fac..a460b7ea4 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -79,11 +79,13 @@ MACOSSANDBOX_PROFILE = '''(version 1) (allow default) -(deny file-write*) +(deny file-write* (with no-log)) (allow file-read* file-write* (literal #"@@WRITEABLE_PREFIX@@" + #"/dev/tty" + #"/dev/dtracehelper" ) (regex -- 2.26.2