Re: 2.2.8pre6, can't run ZMAGIC binaries

Linus Torvalds (torvalds@transmeta.com)
Wed, 12 May 1999 10:01:31 -0700 (PDT)


On Wed, 12 May 1999, Andrea Arcangeli wrote:
>
> It seems to me that we are allowing it also on not VM_SHARED or a file
> opened without O_RDWR:

Uhhuh..

generic_fil_mmap() does have to allow it (because it is also called for
executable mappings), but there _should_ be a test in the sys_mmap() path.

But yes, you're right, I can't find it.

Linus

-
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.tux.org/lkml/