Skip to content

wasm2c: minor code cleanup for OS checks for segue - #2504

Merged
shravanrn merged 1 commit into
WebAssembly:mainfrom
PLSysSec:segue-minor-cleanup
Nov 11, 2024
Merged

shravanrn merged 1 commit into
WebAssembly:mainfrom
PLSysSec:segue-minor-cleanup

Conversation

@shravanrn

@shravanrn shravanrn commented Nov 8, 2024 •

Copy link
Copy Markdown
Collaborator

@shravanrn
shravanrn requested review from keithw and sbc100 November 8, 2024 02:01

@keithw keithw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe this can link to https://www.kernel.org/doc/html/latest/arch/x86/x86_64/fsgs.html#fsgsbase-instructions-enablement (even just in the commit message) to show where this is documented?

Fair warning, my view is that we should probably work towards some sort of system of hooks (preprocessor macros that wasm2c can insert with the right command-line argument) that allows seque to live in its own file or directory that you can edit without needing a full review on each change.

@shravanrn
shravanrn enabled auto-merge (rebase) November 11, 2024 23:04
@shravanrn
shravanrn merged commit 94c25a9 into WebAssembly:main Nov 11, 2024
@shravanrn
shravanrn deleted the segue-minor-cleanup branch November 11, 2024 23:23
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.

2 participants