summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2016-12-30 10:35:38 +0200
committerMart Raudsepp <leio@gentoo.org>2016-12-30 10:49:48 +0200
commit3a9eb02cfe4cde0373b309d67fe1fb83c68d7ec5 (patch)
tree3ac3d06f51d5cefdfd0df8ee37023a2c4736ac1d /profiles
parentnet-analyzer/suricata: updated logrotate config file (diff)
downloadgentoo-3a9eb02cfe4cde0373b309d67fe1fb83c68d7ec5.tar.gz
gentoo-3a9eb02cfe4cde0373b309d67fe1fb83c68d7ec5.tar.bz2
gentoo-3a9eb02cfe4cde0373b309d67fe1fb83c68d7ec5.zip
sys-apps/sandbox: Fix opendir sandbox abort with long paths
Shell globbing code could end up calling opendir on a whole command line with arguments, exceeding 8k characters - for example when libtool gets passed an -export-symbols-regex with a wildcard. Due to the length exceeding sandbox internal SB_PATH_MAX, it gets trimmed internally in sandbox syscall checks (even though opendir isn't an actual syscall), gets confused and throws an ISE abort. Fix it by adding a precheck that simply fails early with ENAMETOOLONG on too long paths, as the real glibc function would do the same. Fixes large projects hitting sandbox abort inside the driving POSIX shell globbing function due to a long list of linker arguments (such as many object files) being passed to libtool together with an -export-symbols-regex with a wildcard. Known affected packages include graphicsmagick and newer gnome-builder. p.masked for a short time as a maintainer timeout, seeking independent validation as a critical packages non-maintainer revbump. Gentoo-Bug: 553092 Package-Manager: portage-2.3.3 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/package.mask4
1 files changed, 4 insertions, 0 deletions
diff --git a/profiles/package.mask b/profiles/package.mask
index 438ba4fc28f0..979a78599b59 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -30,6 +30,10 @@
#--- END OF EXAMPLES ---
+# Mart Raudsepp <leio@gentoo.org> (30 Dec 2016)
+# Temporary testing mask for non-maintainer commit of a bugfix, #553092
+=sys-apps/sandbox-2.10-r3
+
# David Seifert <soap@gentoo.org> (29 Dec 2016)
# Ancient codebase, maintenance nightmare, dead
# upstream, games-emulation/vbam is spiritual successor