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

Extend SELinux support #1032

Merged
merged 10 commits into from
Oct 19, 2023
Merged

Extend SELinux support #1032

merged 10 commits into from
Oct 19, 2023

Conversation

flxo
Copy link
Member

@flxo flxo commented Sep 21, 2023

Use setexeccon.

@flxo flxo force-pushed the pr-selinux branch 2 times, most recently from daeec07 to d86c95d Compare September 21, 2023 13:11
@flxo flxo requested a review from inorick September 21, 2023 14:01
}

// nosuid prevents a successfull transition to the container context.
// https://danwalsh.livejournal.com/68723.html
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this restriction was lifted:
https://danwalsh.livejournal.com/78312.html

@flxo flxo force-pushed the pr-selinux branch 4 times, most recently from d3d7336 to 73288fb Compare October 18, 2023 13:30
@flxo flxo changed the title SELinux update Extend SELinux support Oct 18, 2023
@flxo flxo force-pushed the pr-selinux branch 3 times, most recently from 2e2b331 to 3d65389 Compare October 19, 2023 10:02
Felix Obenhuber added 6 commits October 19, 2023 12:09
Split the selinux configuration into the context that is used when the
rootfs is mounted and the context the container process in spawned into.
The minimal dev mounted with the mount type `dev` shall be labeld
correctly.
Avoid the usage of a tempfile and use mksquashfs ability to read the
pseudo file definition from stdin.
@flxo flxo merged commit 8cf2da4 into esrlabs:main Oct 19, 2023
14 checks passed
@flxo flxo deleted the pr-selinux branch October 19, 2023 12:53
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.

3 participants