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

shim: refine set subreaper #49

Merged
merged 1 commit into from
Mar 3, 2022
Merged

shim: refine set subreaper #49

merged 1 commit into from
Mar 3, 2022

Conversation

Burning1020
Copy link
Member

@Burning1020 Burning1020 commented Mar 3, 2022

It's better to get rid of invoking "unsafe" libc function directly in set_subreaper() though we know it's quite safe in fact.

Signed-off-by: Zhang Tianyang burning9699@gmail.com

Signed-off-by: Zhang Tianyang <burning9699@gmail.com>
@Burning1020
Copy link
Member Author

Burning1020 commented Mar 3, 2022

My purpose is that we should try best not invoking unsafe functions directly. It can be replaced by other third-party crate and maintained by them. To be disscussed~

@Burning1020
Copy link
Member Author

If you also agree with me, I'm going to open an issue to trace this problem for log time.

@mxpv mxpv merged commit 1af2be1 into containerd:main Mar 3, 2022
@Burning1020 Burning1020 deleted the prctl branch March 4, 2022 02:41
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.

None yet

2 participants