We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gen_zmq_constants.pl ends with a segfault on SELinux enabled systems because tcc violates the execheap policy.
gen_zmq_constants.pl
tcc
execheap
strace snippet:
open("/home/green.sophos/ioanrogers/.plenv/versions/5.22.1/lib/perl5/site_perl/5.22.1/auto/share/dist/Alien-TinyCC/lib/tcc/include/stddef.h", O_RDONLY) = 5 read(5, "#ifndef _STDDEF_H\n#define _STDDE"..., 8192) = 684 read(5, "", 8192) = 0 close(5) = 0 read(4, " */\n#define ZMQ_HWM 1\n"..., 8192) = 2199 read(4, "", 8192) = 0 close(4) = 0 open("/home/green.sophos/ioanrogers/.plenv/versions/5.22.1/lib/perl5/site_perl/5.22.1/auto/share/dist/Alien-TinyCC/lib/tcc/libtcc1.a", O_RDONLY) = 4 read(4, "!<arch>\n/ 0 "..., 64) = 64 lseek(4, 0, SEEK_SET) = 0 read(4, "!<arch>\n", 8) = 8 read(4, "/ 0 0 "..., 60) = 60 lseek(4, 0, SEEK_CUR) = 68 read(4, "\0\0\0\f\0\0\1\6\0\0\1\6\0\0\1\6\0\0\1\6\0\0\1\6\0\0\1\6\0\0\1\6"..., 194) = 194 close(4) = 0 mprotect(0x14b1000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied) mprotect(0x14b1000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 EACCES (Permission denied) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x14b1d40} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped)
SELinux violation details: tcc_setroubleshoot.txt
This is really a TinyCC issue, but as it prevents building ZMQ::FFI there should at least be a record here for anyone else having this issue.
TinyCC
ZMQ::FFI
Workaround:
sudo setenforce 0 dzil build sudo setenforce 1
The text was updated successfully, but these errors were encountered:
The dependency on TinyCC has been removed which should hopefully resolve these issues
Sorry, something went wrong.
No branches or pull requests
gen_zmq_constants.pl
ends with a segfault on SELinux enabled systems becausetcc
violates theexecheap
policy.strace snippet:
SELinux violation details:
tcc_setroubleshoot.txt
This is really a
TinyCC
issue, but as it prevents buildingZMQ::FFI
there should at least be a record here for anyone else having this issue.Workaround:
The text was updated successfully, but these errors were encountered: