-
Notifications
You must be signed in to change notification settings - Fork 355
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
Support for SELinux label #469
Comments
Maybe this might provide some help : https://wiki.gentoo.org/wiki/SELinux/Labels , and specifically, https://wiki.gentoo.org/wiki/SELinux/Labels#Managing_process_labels As the above states , it is not possible to change the label for process once started. That would mean we would need to start the youki daemon , in the two-fork method with the correct label set. This might provide some info on that : https://wiki.gentoo.org/wiki/SELinux/Tutorials/How_does_a_process_get_into_a_certain_context I haven't gone through these in detail, but I think this could lead us to the way we need to implement. Some extra links (but not much different) : |
I also found https://opensource.com/article/18/2/understanding-selinux-labels-container-runtimes, which is from the author who contributed to selinux go bindings for OCI : https://github.com/opencontainers/selinux |
@yihuaf Hi! Maybe are you interested? |
I can try to do some investigation around this and see if I can come up with a design. Work starts to take up more time, so I may work slower than before. |
@yihuaf That's right. If you will be busy and it gets difficult, please let me know via discord DM or something. It's no problem at your own pace. THanks again, you're a big help 😍 |
This is carried on in #2718 |
I don't know what we need. The first step is to identify what we need to do.
https://github.com/opencontainers/runtime-spec/blob/a3c33d663ebc56c4d35dbceaa447c7bf37f6fab3/config.md?plain=1#L213-L214
The text was updated successfully, but these errors were encountered: