Skip to content

Commit

Permalink
make selinux policy optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
p3ck committed Oct 16, 2014
1 parent bf03d3e commit 5e691e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selinux/restraint.te
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
policy_module(restraint, 1.0)

optional_policy(`
gen_require(`
type unconfined_t;
type unconfined_service_t;
Expand All @@ -8,3 +9,4 @@ gen_require(`
allow unconfined_service_t unconfined_exec_t:file entrypoint;
allow unconfined_service_t unconfined_t:process transition;
type_transition unconfined_service_t unconfined_exec_t:process unconfined_t;
')

0 comments on commit 5e691e1

Please sign in to comment.