Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477090 - dev-libs/weston-1.2.0: RWX mmap
Summary: dev-libs/weston-1.2.0: RWX mmap
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 17:43 UTC by Nikoli
Modified: 2015-08-30 00:09 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-07-16 17:43:20 UTC
When running weston-launch my dmesg has RWX mmap errors:
[67790.947344] grsec: denied RWX mmap of <anonymous mapping> by /usr/libexec/weston-screensaver[weston-screensa:24286] uid/euid:1101/1101 gid/egid:1101/1101, parent /usr/libexec/weston-desktop-shell[weston-desktop-:24279] uid/euid:1101/1101 gid/egid:1101/1101
[67819.346996] grsec: denied RWX mmap of <anonymous mapping> by /usr/libexec/weston-keyboard[weston-keyboard:24322] uid/euid:1101/1101 gid/egid:1101/1101, parent /usr/bin/weston[weston:24316] uid/euid:1101/1101 gid/egid:1101/1101
[67819.347948] grsec: denied RWX mmap of <anonymous mapping> by /usr/libexec/weston-desktop-shell[weston-desktop-:24323] uid/euid:1101/1101 gid/egid:1101/1101, parent /usr/bin/weston[weston:24316] uid/euid:1101/1101 gid/egid:1101/1101
[68020.532317] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/weston-terminal[weston-terminal:24426] uid/euid:1101/1101 gid/egid:1101/1101, parent /usr/libexec/weston-desktop-shell[weston-desktop-:24323] uid/euid:1101/1101 gid/egid:1101/1101


Asked in #wayland:
[21:31:33] <Nikoli> there are a lot RWX mmap messages in dmesg when using weston http://bpaste.net/raw/114782/
[21:32:02] <Nikoli> will they be fixed or it is not possible by design?
[21:32:57] <krh> Nikoli: we don't allocate anything X
[21:33:01] <krh> s/allocate/map
[21:33:42] <Nikoli> so why i have such messages?
[21:33:44] <krh> Nikoli: git grep PROT_EXEC -> nothing
[21:34:14] <Nikoli> when using 3d x11 apps with radeon foss driver i do not have such errors in dmesg
[21:34:18] <krh> good question
[21:34:32] <Nikoli> so it is mesa?
[21:36:42] <krh> Nikoli: could be mesa, yes
Comment 1 Matt Turner gentoo-dev 2015-08-30 00:09:23 UTC
I've removed wayland/weston < 1.6.1.