Skip to content

semodule: add config argument #470

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RossComputerGuy
Copy link
Contributor

@RossComputerGuy RossComputerGuy commented Apr 11, 2025

Adds the ability to provide the path to the config for semodule. This is yet another patch which is useful for NixOS.

https://lore.kernel.org/selinux/[email protected]/T/#t

@RossComputerGuy RossComputerGuy force-pushed the feat/semodule-semanage-conf-path branch 5 times, most recently from dbf8b93 to 5c55253 Compare April 17, 2025 02:14
Adds "semanage_handle_create_with_path" to create an semanage handle
with a config file from a specific path. This is useful for baking
SELinux policy generation into a Nix derivation.

Signed-off-by: Tristan Ross <[email protected]>
@RossComputerGuy RossComputerGuy force-pushed the feat/semodule-semanage-conf-path branch from 5c55253 to 898602e Compare April 18, 2025 18:12
Use "semanage_handle_create_with_path" and implement a new flag for
handling semanage config files at specific paths.

Signed-off-by: Tristan Ross <[email protected]>
@RossComputerGuy RossComputerGuy force-pushed the feat/semodule-semanage-conf-path branch from 898602e to 8d167c5 Compare April 25, 2025 18:05
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.

1 participant