diff options
author | Dan Armak <danarmak@gentoo.org> | 2003-07-01 11:51:43 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2003-07-01 11:51:43 +0000 |
commit | 2a01414c2f6037c63752dfb97ed4e13d96160485 (patch) | |
tree | 3c7e09025fa89b58c11673beebbb2ff7f24a39de /eclass | |
parent | version bump (diff) | |
download | gentoo-2-2a01414c2f6037c63752dfb97ed4e13d96160485.tar.gz gentoo-2-2a01414c2f6037c63752dfb97ed4e13d96160485.tar.bz2 gentoo-2-2a01414c2f6037c63752dfb97ed4e13d96160485.zip |
predict accesses to QTDIR/etc/settings for the sandbox to make sure there are no access denied aborts even under userpriv+usersandbox. can't hurt anything, as it's just an addpredict not an addwrite. in fact, the addwrite (and the trick with ~/.kde, ~/.qt) should be removed and replaced with an addpredict - but that has to be tested, so not committing yet.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index f58f9195d392..022a159aa2e5 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.58 2003/06/10 17:30:20 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.59 2003/07/01 11:51:43 danarmak Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -246,6 +246,7 @@ set-qtdir() { # if $QTDIR/etc/settings/qtrc file exists, the qt build tools try to create # a .qtrc.lock file in that directory. It's easiest to allow them to do so. [ -d "$QTDIR/etc/settings" ] && addwrite "$QTDIR/etc/settings" + addpredict "$QTDIR/etc/settings" } |