[Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 14 03:06:39 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217062
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
-o noexec only means that execve(2) with a binary living on that filesystem is
disallowed, -o noexec does not disable mmaping with PROT_EXEC. So that part of
the bug report is not a bug.
I am interested in the other part, where mprotect(PROT_EXEC) fails to you. Can
you provide a minimal example which demostrate what you are trying to do and
failed syscall ? I want a minimal test program in C.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list