Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515208 - games-strategy/ufo-ai-2.4: needs paxmarking -m
Summary: games-strategy/ufo-ai-2.4: needs paxmarking -m
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 14:51 UTC by Alex Efros
Modified: 2015-06-04 03:32 UTC (History)
2 users (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 Alex Efros 2014-06-26 14:51:07 UTC
Please add "paxmark m /usr/bin/ufo" into ebuild for hardened.

$ ufo
---- endianness initialization -----
...
R_LoadProgram: 'simple_glow' loaded.
]LLVM ERROR: Allocation failed when allocating new memory in the JIT
Can't allocate RWX Memory: ???????? ?? ?????????

kern.alert: grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/ufo[ufo:31999] uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:2195] uid/euid:1000/1000 gid/egid:1000/1000
Comment 1 Anthony Basile gentoo-dev 2014-10-17 19:04:42 UTC
@games: you can add `pax=mark m usr/bin/ufo` after `dobin ufo || die`
Comment 2 Alexander Tsoy 2014-10-21 12:32:12 UTC
(In reply to Alex Efros from comment #0)

> R_LoadProgram: 'simple_glow' loaded.
> ]LLVM ERROR: Allocation failed when allocating new memory in the JIT
> Can't allocate RWX Memory: ???????? ?? ?????????

Is this caused by a gallium-based video driver? Do we pax-mark binaries in such case?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2015-05-28 16:47:58 UTC
Anyone from hardened able to answer the question about gallium-based video drivers?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2015-06-04 03:32:23 UTC
After taking to the hardened team I'm marking this bug as WONTFIX since apparently only some video cards needs the pax marking and it's expected that if you're using a hardened system that you'll know what you're doing enough to do any necessary marking yourself.