Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jun 5, 2025

We have seen CI being flaky due to a sporatic openat syscall. Turns out (g)libc can try to open /proc/sys/vm/overcommit_memory during a call to free().

This PRs makes openat return EACCES rather than trap.

An alternative solution I tried is to "prime" malloc/free before applying the seccompfilter, but that didn't work.

Closes #175

…ACCES instead

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
src/hyperlight_host/src/seccomp/guest.rs Show resolved Hide resolved
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Copy link
Contributor

@jprendes jprendes left a comment

Choose a reason for hiding this comment

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

LGTM

@ludfjig ludfjig merged commit d74a279 into hyperlight-dev:main Jun 6, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix For PRs that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI instability: openat(2) where we don't expect it

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.