Skip to content

Commit

Permalink
Merge pull request #703 from engelmi/add-bluechi-uds-to-policy
Browse files Browse the repository at this point in the history
Add bluechi uds to policy
  • Loading branch information
Yarboa authored Jan 16, 2025
2 parents 2aa35bb + 6459e7e commit 4f3a2eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions qm.te
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ files_pid_filetrans(init_t, ipc_var_run_t, dir, "ipc")
unconfined_domain(ipc_t)

qm_domain_template(qm)

optional_policy(`
require{
type bluechi_var_run_t;
type bluechi_t;
}
stream_connect_pattern(qm_t, bluechi_var_run_t, bluechi_var_run_t, bluechi_t)
unconfined_server_stream_connectto(qm_t)
')
2 changes: 1 addition & 1 deletion rpm/qm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ BuildRequires: git-core
BuildRequires: pkgconfig(systemd)
BuildRequires: selinux-policy >= %_selinux_policy_version
BuildRequires: selinux-policy-devel >= %_selinux_policy_version
BuildRequires: bluechi-selinux

Requires: iptables
Requires: parted
Expand All @@ -71,7 +72,6 @@ Requires(post): selinux-policy-targeted >= %_selinux_policy_version
Requires(post): policycoreutils
Requires(post): libselinux-utils
Requires: podman >= %{podman_epoch}:4.5
Requires: bluechi-agent
Requires: jq

%description
Expand Down

0 comments on commit 4f3a2eb

Please sign in to comment.