5 comments

[ 3.1 ms ] story [ 24.7 ms ] thread
I read this article and enjoyed it so I guess my geek level is pretty high. But the author? He's a completely different level of geek.

Being able to write about a subject like this and keep it entertaining. Genius.

Reminds me of my C-- days. Awesome article.
"Secondly, it turns out that, contrary to all my expectations, the executable bit can be dropped from the p_flags field. It turns out that the readable and executable bits are redundant: either one will imply the other."

Wonder if this will still work with processors that use NX-bits, or if that is set outside the ELF header.

Can't entirely tell since there seems to be some kind of backwards compatibility hack on x86 for legacy apps that might have been unaware of the potential for NX: https://lwn.net/Articles/94068/