denied marking stack executable

Alex Efros <[email protected]>
Newsgroups gmane.linux.gentoo.hardened
Organization http://powerman.name/
Message-ID <[email protected]>
Hi!

I've just tried to run one game which works several months ago and get
segfault with this message in kernel log:

2014-07-15_21:38:42.73335 kern.alert: grsec: denied marking stack executable as requested by PT_GNU_STACK marking in /mnt/storage/games/DungeonDefenders/UDKGame/Binaries/DungeonDefenders-x86 by /lib32/ld-2.17.so[ld-linux.so.2:2818] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/ldd[ldd:2817] uid/euid:1000/1000 gid/egid:1000/1000
2014-07-15_21:38:42.73338 kern.alert: grsec: denied RWX mprotect of <stack> by /lib32/ld-2.17.so[ld-linux.so.2:2818] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/ldd[ldd:2817] uid/euid:1000/1000 gid/egid:1000/1000

Looks like it can't be fixed using paxctl-ng, so how to work around it?

Also, looks like when I try to execute it in most cases it segfault
without any messages in kernel log, not sure why.

-- 
			WBR, Alex.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.