Re: Progress! was: Re: Yet more VM writable swap-cached pages

Richard Henderson (rth@dot.cygnus.com)
Mon, 20 Jul 1998 04:16:30 -0700


On Thu, Jul 09, 1998 at 05:54:21PM -0700, Linus Torvalds wrote:
> It also explains why so few people saw this - PROT_NONE is not something
> that is normally used.

Actually, the glibc ld.so will create PROT_NONE regions if there is
a hole between a shared library's text and data space. E.g.

20000110000-200001d6000 r-xp 00000000000 08:02 29407 /lib/libc-2.0.7.so
200001d6000-200002d0000 ---p 000000c6000 08:02 29407 /lib/libc-2.0.7.so
200002d0000-200002e6000 rwxp 000000c0000 08:02 29407 /lib/libc-2.0.7.so

LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**16
filesz 0x000c48a8 memsz 0x000c48a8 flags r-x
LOAD off 0x000c48a8 vaddr 0x001c48a8 paddr 0x001c48a8 align 2**16
filesz 0x00010540 memsz 0x0001ae90 flags rwx

r~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html