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/