Subject: Re: PROT_EXEC mappings of vnodes -> VTEXT
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 10/30/2001 07:36:26
On Tue, Oct 30, 2001 at 10:28:24AM -0500, Thor Lancelot Simon wrote:

 > It seems to me there are three choices: let programs lose when their shared
 > libraries are switched out from under them, let users make arbitrary readable
 > files read-only, or enforce the "x" bit the right way.

But even what you're suggesting wouldn't be "the right way".  Add +x to
libc.so and then do "./libc.so".  This isn't really what you want, either.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>