Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582558 - dev-qt/qtwebengine: grsec: denied RWX mmap of <anonymous mapping> by /usr/lib64/qt5/libexec/QtWebEngineProcess
Summary: dev-qt/qtwebengine: grsec: denied RWX mmap of <anonymous mapping> by /usr/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-09 11:39 UTC by Alpha Bravo
Modified: 2016-12-06 07:25 UTC (History)
4 users (show)

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


Attachments
A patch to qtwebengine-5.7.0.ebuild (DIFF,652 bytes, patch)
2016-11-28 07:03 UTC, 4nykey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2016-05-09 11:39:58 UTC
dev-qt/qtwebengine-5.6.0 grsec: denied RWX mmap of <anonymous mapping> by /usr/lib64/qt5/libexec/QtWebEngineProcess

leads to segfault at runtime (tested with www-client/qupzilla-2.0.0: loading websites is impossible).

Paxmarking m /usr/lib64/qt5/libexec/QtWebEngineProcess on hardened solves this problem.
Comment 1 4nykey 2016-11-28 07:03:14 UTC
Created attachment 454574 [details, diff]
A patch to qtwebengine-5.7.0.ebuild

This adopts how it's done in www-client/chromium: first buiild and paxmark mksnapshot (bug #579712) to be able to build the rest, then paxmark QtWebEngineProcess.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-12-06 07:25:24 UTC
Thanks, fixed in git by Aric Belsito.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c774a4445fb38143628450af34608353efc1bd78