Update paxctl message to 'paxctl -cm' (bb #2092).

0.96
Török Edvin 15 years ago
parent 7da37b9648
commit 8977ed61fe
  1. 4
      libclamav/c++/bytecode2llvm.cpp

@ -1923,7 +1923,7 @@ int cli_bytecode_init_jit(struct cli_all_bc *bcs, unsigned dconfmask)
errs() << MODULE << ErrMsg << "\n";
#ifdef __linux__
errs() << MODULE << "SELinux or PaX is preventing 'execmem' access."
<< "Run 'setsebool -P clamd_use_jit on' or 'paxctl -m <executable>' to allow access\n";
<< "Run 'setsebool -P clamd_use_jit on' or 'paxctl -cm <executable>' to allow access\n";
#endif
errs() << MODULE << "falling back to interpreter mode\n";
have_clamjit=0;
@ -1940,7 +1940,7 @@ int cli_bytecode_init_jit(struct cli_all_bc *bcs, unsigned dconfmask)
errs() << "bytecode JIT: PaX found: " << line;
}
if (!strchr(line,'m')) {
errs() << MODULE << "PaX is preventing MPROTECT, use 'paxctl -m <executable>' to allow\n";
errs() << MODULE << "PaX is preventing MPROTECT, use 'paxctl -cm <executable>' to allow\n";
errs() << MODULE << "falling back to interpreter mode\n";
fclose(f);
have_clamjit=0;

Loading…
Cancel
Save