Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2021 20:48:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255018] devel/pcre2 apparently incompatible with sysctl kern.elf64.allow_wx=0
Message-ID:  <bug-255018-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255018

            Bug ID: 255018
           Summary: devel/pcre2 apparently incompatible with sysctl
                    kern.elf64.allow_wx=3D0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: emaste@freebsd.org
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@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=3Dimp
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 pa=
th
to addressing this.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255018-7788>