Originally Posted by bobzilla
Thanx. I have to try this when I catch more time for playing with retro stuff.
Anyway, I think the problem is not limited only to Slack64 Current. I remember having problems with 32-bit 14.0 and probably 13.37. Couldn't find a solution on the web at the time.
You're right. Indeed its transcends any particular Linux operating system, Slackware or otherwise. The noexec=off
kernel command line allows the ancient a.out binaries to run any number of both 64 and 32-bit platforms I have handy here, Arch, Gentoo-2.2 AMD64 and my own system, loosely based on Linux from Scratch.
For some additional background, my interest in going retro was triggered by going down memory lane by trying to build Emacs-19.34b on all of the above (and more) systems. The dump process of creating emacs
would invariably segfault. That ultimately led to gaining real knowledge of ASLR (Address space layout randomization), something that was only vague to me at the time. Both the noexec=off
kernel flag and the twiddling of the --addr-no-randomize
flag with setarch
are relevant. The latter allowed me to build that old Emacs set the course for me learn more about means to defeat the feature of address randomization. There's also a personality(2)
flag that can set to enable a process to bypass address space randomization.
By the way, it's not prudent to disable the noexec flag on a production system. It's there for a reason. I only toggle it when I want to enter a time tunnel back to the early 1990s.