Skip to content

Move ARM64 JIT templates to read-only data on FreeBSD and OpenBSD - #364

Closed
selsta wants to merge 1 commit into
tevador:masterfrom
selsta:bsd-arm64-jit-xonly
Closed

selsta wants to merge 1 commit into
tevador:masterfrom
selsta:bsd-arm64-jit-xonly

Conversation

@selsta

@selsta selsta commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

The templates are copied into a separate JIT allocation and are never executed in place. Keep them in .rodata on FreeBSD and OpenBSD so the source bytes remain readable without requiring executable storage.

This fixes JIT construction on OpenBSD arm64, where .text is execute-only.

The templates are copied into a separate JIT allocation and are never
executed in place. Keep them in .rodata on FreeBSD and OpenBSD so the
source bytes remain readable without requiring executable storage.

This fixes JIT construction on OpenBSD arm64, where .text is execute-only.
@selsta

selsta commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor Author

#363 is more generic and the better solution here.

@selsta selsta closed this Oct 18, 2026
@selsta
selsta deleted the bsd-arm64-jit-xonly branch October 18, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant