[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:07:17 UTC 2017


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



--- Comment #20 from Xavier Hernandez <xhernandez at datalab.es> ---
I think the problem could be that the allocated memory will be used to store
code, so the PROT_EXEC flag is passed to mmap. I think this is the only
difference between this particular mmap() call and the other mmap() calls
present in gluster code.

Probably this will be the cause that selinux makes mmap() to fail.

Does "exit=-13" mean that the errno returned by mmap() is 13 (EACCES) ? In that
case I could add a specific error message in the patch to clearly show that
selinux could be the cause.

-- 
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=NQXED2ejSS&a=cc_unsubscribe


More information about the Bugs mailing list