Skip to content

feat: add OpenPaX patches - #45

Draft
HastD wants to merge 1 commit into
secureblue:livefrom
HastD:openpax
Draft

HastD wants to merge 1 commit into
secureblue:livefrom
HastD:openpax

Conversation

@HastD

@HastD HastD commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Patches taken from: edera-dev/linux@238650e...6ef339b (the head of the feature/openpax-mainline branch at this time)

Marked as draft as this needs testing first, and I think we'd also want to set the sysctl kernel.pax.softmode = 1 in secureblue first to ensure that, at least to start, the W^X protections are opt-in rather than opt-out. (At some point we might be able to enable them by default, but that would require identifying and marking all executables in the base image that depend on JIT compilation.)

Patches taken from:
edera-dev/linux@238650e...6ef339b
(the head of the `feature/openpax-mainline` branch at this time)

Also reorganize repo so it's clearer which patches are for the kernel
spec file and which are for the kernel source code itself.
if (retval)
goto out_free_dentry;

- if (!test_bit(PAXF_EMUTRAMP, &current->mm->pax_flags))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wait this is just overwriting openpax-13? 😅

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wonder if it would be worthwhile to squash them all into one patch

This branch was previously deployed

1 inactive deployment
TestBuild — 2c8841d9 Deployed Nov 26, 2026 by HastD via Build RPM (aarch64, ubuntu-26.04-arm) #520
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.

[feat] OpenPaX kernel patches

2 participants