Fix system.if
This commit is contained in:
parent
f257f9441d
commit
15eb6e9732
@ -35236,7 +35236,7 @@ index 0000000..2cd29ba
|
|||||||
+/var/run/initramfs(/.*)? <<none>>
|
+/var/run/initramfs(/.*)? <<none>>
|
||||||
diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
|
diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..8a61b65
|
index 0000000..1a254f8
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/policy/modules/system/systemd.if
|
+++ b/policy/modules/system/systemd.if
|
||||||
@@ -0,0 +1,1286 @@
|
@@ -0,0 +1,1286 @@
|
||||||
@ -36057,7 +36057,7 @@ index 0000000..8a61b65
|
|||||||
+#
|
+#
|
||||||
+interface(`systemd_start_systemd_services',`
|
+interface(`systemd_start_systemd_services',`
|
||||||
+ gen_require(`
|
+ gen_require(`
|
||||||
+ attribute systemd_unit_file_t;
|
+ type systemd_unit_file_t;
|
||||||
+ ')
|
+ ')
|
||||||
+
|
+
|
||||||
+ allow $1 systemd_unit_file_t:service start;
|
+ allow $1 systemd_unit_file_t:service start;
|
||||||
@ -36075,7 +36075,7 @@ index 0000000..8a61b65
|
|||||||
+#
|
+#
|
||||||
+interface(`systemd_reload_systemd_services',`
|
+interface(`systemd_reload_systemd_services',`
|
||||||
+ gen_require(`
|
+ gen_require(`
|
||||||
+ attribute systemd_unit_file_t;
|
+ type systemd_unit_file_t;
|
||||||
+ ')
|
+ ')
|
||||||
+
|
+
|
||||||
+ allow $1 systemd_unit_file_t:service reload;
|
+ allow $1 systemd_unit_file_t:service reload;
|
||||||
@ -36094,7 +36094,7 @@ index 0000000..8a61b65
|
|||||||
+#
|
+#
|
||||||
+interface(`systemd_config_systemd_services',`
|
+interface(`systemd_config_systemd_services',`
|
||||||
+ gen_require(`
|
+ gen_require(`
|
||||||
+ attribute systemd_unit_file_t;
|
+ type systemd_unit_file_t;
|
||||||
+ ')
|
+ ')
|
||||||
+
|
+
|
||||||
+ allow $1 systemd_unit_file_t:service all_service_perms;
|
+ allow $1 systemd_unit_file_t:service all_service_perms;
|
||||||
|
Loading…
Reference in New Issue
Block a user