Page MenuHomeFreeBSD

www/node*: Detect W^X protection and fail early
Needs ReviewPublic

Authored by smyru on Jul 28 2026, 4:30 PM.
Tags
None
Referenced Files
F170760491: D58519.id182965.diff
Sun, Sep 6, 11:32 AM
Unknown Object (File)
Sun, Sep 6, 10:38 AM
Unknown Object (File)
Sat, Sep 5, 11:44 AM
Unknown Object (File)
Sat, Sep 5, 5:23 AM
Unknown Object (File)
Fri, Sep 4, 11:48 AM
Unknown Object (File)
Fri, Sep 4, 7:26 AM
Unknown Object (File)
Thu, Sep 3, 4:48 PM
Unknown Object (File)
Thu, Sep 3, 9:46 AM
Subscribers
None

Details

Reviewers
sunpoet
Summary

Node requires W^X allowed to build with JIT option enabled.
Let's make sure we detect hardening and fail early letting
the user know the limitations.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75237
Build 72120: arc lint + arc unit

Event Timeline

smyru requested review of this revision.Jul 28 2026, 4:30 PM
smyru created this revision.

This is a review that contains change to node's LTS port, if accepted I will extend the patch to all node ports.

I am dropping this reviews, since the approach is wrong. A proper solution will be suggested in another one.