summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-13 23:56:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-13 23:56:28 +0000
commitc626a5f380851db60b95419ad4141f0935fb7501 (patch)
tree1ec80b8239b9de0c4a354e01d2b32bc2b1f82f9d /sys-apps/util-linux/util-linux-2.12i-r1.ebuild
parentold (diff)
downloadhistorical-c626a5f380851db60b95419ad4141f0935fb7501.tar.gz
historical-c626a5f380851db60b95419ad4141f0935fb7501.tar.bz2
historical-c626a5f380851db60b95419ad4141f0935fb7501.zip
Fix small security issue with umount and remount #105805.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-apps/util-linux/util-linux-2.12i-r1.ebuild')
-rw-r--r--sys-apps/util-linux/util-linux-2.12i-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/util-linux/util-linux-2.12i-r1.ebuild b/sys-apps/util-linux/util-linux-2.12i-r1.ebuild
index 28c3d9a0a2ed..31d3ba2513e2 100644
--- a/sys-apps/util-linux/util-linux-2.12i-r1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.12i-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.16 2005/08/16 22:09:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.17 2005/09/13 23:56:28 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -42,6 +42,9 @@ src_unpack() {
# Fix rare failures with -j4 or higher
epatch ${FILESDIR}/${PN}-2.11z-parallel-make.patch
+ # Disable the -r option for non-root users #105805
+ epatch "${FILESDIR}"/${PN}-2.12-only-root-can-remount.patch
+
# Fix unreadable df output
[[ -e /dev/.devfsd ]] && epatch ${FILESDIR}/no-symlink-resolve.patch