|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mmap(), security and /dev/zero
cgd
broadcom.com
Date: Wed Jun 23 2004 - 21:23:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At Thu, 24 Jun 2004 01:02:17 +0000 (UTC), "Curt Sampson" wrote:
> I don't quite understand this. Ought not any page in core backed by a
> page on a noexec filesystem be marked non-executable, regardless of any
> other circumstances?
heh. so, to clone your statement, "ought not any page in core backed
by a page in a noexec file be marked non-executable..." ? 8-)
(AFAIK, the same permission check would apply to either, namely: "can
this file be used for execution?")
There's still nothing to stop programs which do their own loading (X?
others?), but they should be taught to respect the bits (both file and
noexec) too.
cgd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]