Subject: Re: mmap(), security and /dev/zero
To: Thor Lancelot Simon <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 06/23/2004 21:24:48
> "Not exactly". I believe we decided to not require the x bit on files
> backing executable mappings, because this would be a painful user-visible
> change (every shared object on the system would require x added to its
Yes - If 'x' were required then the shell (etc) will try to execute them.....
Requiring 'x' basically gives little or no (obvious) benefits, and a lot
Of course it might be useful to be able to 'write-lock' shared libraries
(so writes generate ETXTBSY).
David Laight: firstname.lastname@example.org