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
commit75a0d221b52d764cd10f975013a1bae534f47ae5 (patch)
tree82d7b86f4b9b22df17dc4830d44e4ed8dbf6ed40 /sys-apps/util-linux/util-linux-2.12i-r1.ebuild
parentold (diff)
downloadgentoo-2-75a0d221b52d764cd10f975013a1bae534f47ae5.tar.gz
gentoo-2-75a0d221b52d764cd10f975013a1bae534f47ae5.tar.bz2
gentoo-2-75a0d221b52d764cd10f975013a1bae534f47ae5.zip
Fix small security issue with umount and remount #105805.
(Portage version: 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