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 seccomp into feature flags of youki to be compiled in #2924

Conversation

musaprg
Copy link
Contributor

@musaprg musaprg commented Sep 22, 2024

Currently, the youki disables the libcontainer/libseccomp feature by setting default-feature = false. If libcontainer has a feature flag for seccomp, youki should also have the feature flag so that we can use it by enabling it through the build option.

Since I'm new to this project, I don't have enough background and status of seccomp support in youki. Please let me know if there's any reason why this feature is explicitly disabled in youki, for example, it's still an experimental feature.

@musaprg musaprg marked this pull request as ready for review September 22, 2024 16:05
@musaprg musaprg mentioned this pull request Sep 22, 2024
2 tasks
@musaprg musaprg force-pushed the add-seccomp-support-build-feature-for-youki-crate branch from ea5f849 to 873ca84 Compare September 22, 2024 16:14
@yihuaf
Copy link
Collaborator

yihuaf commented Sep 23, 2024

In short, not all platform supports libseccomp. There are some context in these issues and MR. Please read them and I can help answer further questions :)

@YJDoc2 YJDoc2 added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Sep 23, 2024
@utam0k
Copy link
Member

utam0k commented Sep 25, 2024

May I ask you to check CI?

@musaprg musaprg force-pushed the add-seccomp-support-build-feature-for-youki-crate branch from 873ca84 to a34dcc0 Compare September 28, 2024 09:44
@musaprg
Copy link
Contributor Author

musaprg commented Sep 28, 2024

Hi. I rechecked and fixed my changes to the test cases. Could you check it again? Thanks.

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.

Make sense

@utam0k utam0k merged commit 95e4f6e into youki-dev:main Oct 8, 2024
27 checks passed
@github-actions github-actions bot mentioned this pull request Oct 8, 2024
@musaprg musaprg deleted the add-seccomp-support-build-feature-for-youki-crate branch October 8, 2024 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants