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

cg2: syscall -> x/sys/unix #269

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Conversation

dcantah
Copy link
Member

@dcantah dcantah commented Feb 6, 2023

Change to x/sys/unix definitions. I left cgroups 1 as right now it should be able to build on non-linux platforms, but there's a singular syscall.EINVAL check which swapping to unix would ruin. cg2 should already not be able to build on non-linux as we were using InotifyInit and Statfs_t in tests.

Change to x/sys/unix definitions. I left cgroups 1
as right now it *should* be able to build on non-linux
platforms, but there's a singular syscall.EINVAL check
which swapping to unix would ruin. cg2 should already not
be able to build on non-linux as we were using InotifyInit
and Statfs_t in tests.

Signed-off-by: Danny Canter <[email protected]>
Copy link
Member

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

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

Oh neat, TIL. LGTM

@AkihiroSuda AkihiroSuda merged commit 8c10986 into containerd:main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants