Minor fix to pass all tests in NetBSD - lightning.git - Portable just-in-time compiler library

index : lightning.git
Portable just-in-time compiler library
summary refs log tree commit diff
path: root/lib/jit_note.c
diff options
context:
space:
mode:
authorpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2022年10月06日 11:26:27 -0300
committerpcpa <paulo.cesar.pereira.de.andrade@gmail.com>2022年10月06日 11:26:27 -0300
commitf401a03fbd9c2e7547776369ff732c48cbe29ba7 (patch)
tree5507f517a3ff61337351302165cf9f89002b0935 /lib/jit_note.c
parent69cbcc48a6bb238a425134142b7df8d12047882d (diff)
downloadlightning-f401a03fbd9c2e7547776369ff732c48cbe29ba7.tar.gz
Minor fix to pass all tests in NetBSD
For NetBSD need to use the PROT_MPROTECT() macro to tell intended map protections. Then, not mix PROT_EXEC and PROT_WRITE, so need to switch flags in mprotect() calls.
Diffstat (limited to 'lib/jit_note.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月12日 19:24:06 +0000

AltStyle によって変換されたページ (->オリジナル) /