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

Add missing rename attribute to LinuxSyscall (fixes clone3 problems) #125

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

dmartin
Copy link
Contributor

@dmartin dmartin commented Feb 27, 2023

LinuxSyscall was missing this rename attribute, so the errnoRet field was not being handled properly.

This might have gone unnoticed as the default moby seccomp profile has only one non-default errnoRet value for clone3, but unfortunately it causes a lot of issues when it's missing (moby/moby#42681, https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04)

@saschagrunert
Copy link
Contributor

@Furisto @utam0k PTAL

@codecov-commenter
Copy link

Codecov Report

Merging #125 (1595d7a) into main (65ad456) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #125   +/-   ##
=======================================
  Coverage   23.98%   23.98%           
=======================================
  Files          21       21           
  Lines        1622     1622           
  Branches      809      809           
=======================================
  Hits          389      389           
  Misses        541      541           
  Partials      692      692           

Copy link
Member

@utam0k utam0k left a comment

Choose a reason for hiding this comment

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

Looks good

@utam0k utam0k merged commit bed58f0 into youki-dev:main Mar 9, 2023
@dmartin dmartin deleted the linuxsyscall-rename branch March 10, 2023 01:47
@dmartin dmartin restored the linuxsyscall-rename branch March 10, 2023 01:47
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.

4 participants