-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: optional SELinux policy for insights-core
insights-core will get soon an own SELinux policy, and thus insights-client must properly run insights-core using its own policy. To do that: - add a new meson option to specify the type of the SELinux policy for insights-core; an empty string disables the switch, i.e. keep the current behaviour (insights-core running in the same context of insights-client) - use the libselinux Python binding in case a SELinux policy for insights-core is specified - detect whether SELinux is enabled, and disable the switch if not - in case a switch has to happen, then use the existing SELinux context, and apply the different type for insights-core Card: CCT-984 Signed-off-by: Pino Toscano <[email protected]>
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters