Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Alan Cox
Date: Sat Sep 23 2006 - 14:46:57 EST


Ar Sad, 2006-09-23 am 17:04 +0100, ysgrifennodd Hugh Dickins:
> No, it's not. But this doesn't have much to do with tmpfs,
> nor with shm_open. It's just that the kernel is not allowing
> mmap PROT_EXEC on a MNT_NOEXEC mount. Which seems reasonable
> (though you can argue that mprotect ought to disallow it too).

Agreed mprotect should also be fixed.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/