Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506412 - media-libs/mesa-10.0.4[llvm]: llvmpipe tests need pax marking
Summary: media-libs/mesa-10.0.4[llvm]: llvmpipe tests need pax marking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: InOverlay, PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2014-04-01 07:08 UTC by Nikoli
Modified: 2014-05-15 07:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mesa-10.0.4.ebuild.patch (mesa-10.0.4.ebuild.patch,903 bytes, patch)
2014-04-01 07:08 UTC, Nikoli
Details | Diff
patch v2 (mesa-10.1.1.ebuild.llvm.patch,800 bytes, patch)
2014-05-10 09:04 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-04-01 07:08:14 UTC
Created attachment 374008 [details, diff]
mesa-10.0.4.ebuild.patch

All llvmpipe tests fail when using hardened kernel:
[231009.985326] grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/media-libs/mesa-10.0.4/work/Mesa-10.0.4-amd64/src/gallium/drivers/llvmpipe/lp_test_format[lp_test_format:25364] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[bash:25353] uid/euid:250/250 gid/egid:250/250
[231009.986167] grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/media-libs/mesa-10.0.4/work/Mesa-10.0.4-amd64/src/gallium/drivers/llvmpipe/lp_test_arit[lp_test_arit:25366] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[bash:25361] uid/euid:250/250 gid/egid:250/250
[231009.987811] grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/media-libs/mesa-10.0.4/work/Mesa-10.0.4-amd64/src/gallium/drivers/llvmpipe/lp_test_conv[lp_test_conv:25368] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[bash:25362] uid/euid:250/250 gid/egid:250/250
[231009.988077] grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/media-libs/mesa-10.0.4/work/Mesa-10.0.4-amd64/src/gallium/drivers/llvmpipe/lp_test_blend[lp_test_blend:25365] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[bash:25360] uid/euid:250/250 gid/egid:250/250
[231009.988546] grsec: denied RWX mmap of <anonymous mapping> by /var/package-manager/tmp/portage/media-libs/mesa-10.0.4/work/Mesa-10.0.4-amd64/src/gallium/drivers/llvmpipe/lp_test_printf[lp_test_printf:25367] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[bash:25363] uid/euid:250/250 gid/egid:250/250

With attached patch all tests work fine for me, mesa-10.1.0.ebuild and live ebuild need this patch too.
Comment 1 Nikoli 2014-04-29 12:25:37 UTC
Still happens with mesa-10.1.1, attached patch solves problem.
Comment 2 Magnus Granberg gentoo-dev 2014-05-09 14:29:35 UTC
X11 okay to applay?
Comment 3 Nikoli 2014-05-10 09:04:01 UTC
Created attachment 376648 [details, diff]
patch v2
Comment 4 Nikoli 2014-05-10 09:10:45 UTC
Fixed in x11 overlay.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-14 16:02:48 UTC
Fixed in 10.1.3
Comment 6 Nikoli 2014-05-14 21:10:10 UTC
You forgot to add 'pax-utils' to inherit, pax marking does not work now.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-15 07:39:49 UTC
Thanks, fixed.