Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block the new statx() syscall using seccomp. #30

Merged
merged 1 commit into from
Mar 14, 2020
Merged

Conversation

kentonv
Copy link
Member

@kentonv kentonv commented Mar 14, 2020

This syscall has no glibc wrapper, so we can't intercept it with LD_PRELOAD. node12 uses it. Ugh. Let's block it and force node to fall back to regular stat().

This syscall has no glibc wrapper, so we can't intercept it with LD_PRELOAD. node12 uses it. Ugh. Let's block it and force node to fall back to regular stat().
@kentonv
Copy link
Member Author

kentonv commented Mar 14, 2020

(This is needed by Sandstorm which I'm updating to node12.)

@kentonv kentonv merged commit a6e6d09 into master Mar 14, 2020
@kentonv kentonv deleted the block-statx branch March 14, 2020 23:20
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