Re: [patch] mmap() MAP_TEXT implementation (to use for shared libraries)

From: Ian Lepore <freebsd_at_damnhippie.dyndns.org>
Date: Fri, 07 Sep 2012 12:48:19 -0600
On Fri, 2012-09-07 at 21:41 +0300, Konstantin Belousov wrote:
> After a second thought, I do not like your proposal as well. +x is set for
> shebang scripts, and allowing PROT_EXEC to set VV_TEXT for them means
> that such scripts are subject for write denial.

You say that like it's a bad thing.  I hate it when I accidentally edit
a script that's running and then the script fails because I did.  I
would be much happier if it acted just like any other executable and
prevented modification while it's running.

-- Ian
Received on Fri Sep 07 2012 - 16:48:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC