Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 03:06:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 217062] for file systems mounted with -o noexec, exec=off property does not work for mmap
Message-ID:  <bug-217062-3630-BvhFHOt3do@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217062-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217062-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217062

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #2 from Konstantin Belousov <kib@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 par=
t 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217062-3630-BvhFHOt3do>