Skip to content

Commit

Permalink
Allow qm_t to be entered from all executables
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed May 11, 2023
1 parent 1f7d506 commit 1b7f437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions qm.if
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ template(`qm_domain_template',`
allow $1_t sysctl_irq_t:dir { getattr mounton };
allow $1_t sysctl_t:file { getattr mounton };

corecmd_entrypoint_all_executables($1_t)

corenet_icmp_bind_generic_node($1_t)
corenet_raw_bind_generic_node($1_t)
corenet_rw_tun_tap_dev($1_t)
Expand Down
2 changes: 1 addition & 1 deletion qm.te
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
policy_module(qm, 0.1.0)
policy_module(qm, 0.1.1)

qm_domain_template(qm)

0 comments on commit 1b7f437

Please sign in to comment.