[Bug 255018] devel/pcre2 apparently incompatible with sysctl kern.elf64.allow_wx=0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 12 20:48:05 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255018

            Bug ID: 255018
           Summary: devel/pcre2 apparently incompatible with sysctl
                    kern.elf64.allow_wx=0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion at FreeBSD.org
          Reporter: emaste at freebsd.org
          Assignee: krion at FreeBSD.org
             Flags: maintainer-feedback?(krion at FreeBSD.org)

With the kern.elf64.allow_wx sysctl set to 0 (disabling simultaneously W+X
memory) pcre2 fails, as observed e.g. via `git log`

$ git log --author=imp
fatal: Couldn't JIT the PCRE2 pattern 'imp', got '-48'

I'm opening this PR to track the issue as we try to figure out how to deploy
mitigations like this more widely, but do not yet have a suggestion on a path
to addressing this.

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


More information about the freebsd-ports-bugs mailing list