Quantcast
Channel: Unexpected exec permission from mmap when assembly files included in the project - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by R.. for Unexpected exec permission from mmap when assembly files...

As an alternative to modifying your assembly files with GNU-specific section directive variants, you can add -Wa,--noexecstack to your command line for building assembly files. For example, see how I...

View Article



Answer by Joseph Sible for Unexpected exec permission from mmap when assembly...

Linux has an execution domain called READ_IMPLIES_EXEC, which causes all pages allocated with PROT_READ to also be given PROT_EXEC. This program will show you whether that's enabled for itself:...

View Article

Unexpected exec permission from mmap when assembly files included in the project

I am banging my head into the wall with this. In my project, when I'm allocating memory with mmap the mapping (/proc/self/maps) shows that it is an readable and executable region despite I requested...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images