NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57624: bpfjit failure when running on any W^X enforcing architecture



The following reply was made to PR kern/57624; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/57624: bpfjit failure when running on any W^X enforcing
 architecture
Date: Thu, 21 Sep 2023 16:11:07 +0200

 On Thu, Sep 21, 2023 at 10:06:44AM -0400, Christos Zoulas wrote:
 > Shouldn't that be fixed to use mremap(2) instead?
 
 For userland yes, but the solution in this case (code thinks it is kernel
 and rump emulates it) the solution should be easier - use paxctl
 to disable mprotect for this test binary - and the makefile already has:
 
 PAXCTL_FLAGS=   +m
 
 but somehow it does not work.
 
 Checking....
 
 Martin
 


Home | Main Index | Thread Index | Old Index