[Bugs] [Bug 1402661] Samba crash when mounting a distributed dispersed volume over CIFS

bugzilla at redhat.com bugzilla at redhat.com
Tue Jan 17 09:45:47 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1402661



--- Comment #22 from Xavier Hernandez <xhernandez at datalab.es> ---
If enabling only PROT_EXEC without PROT_WRITE does not trigger the selinux
check, maybe we could change the way it's done. For example we could mmap only
with PROT_WRITE, generate the code and then change the protection to only
PROT_EXEC.

That would require considerable changes since the current implementation uses
the same allocated memory to create multiple dynamic fragments of code as they
are needed. We would need to have a single mmap() for each fragment of code.

What do you think ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2Caw2e8g2E&a=cc_unsubscribe


More information about the Bugs mailing list