aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/system/systemd.if')
-rw-r--r--policy/modules/system/systemd.if20
1 files changed, 20 insertions, 0 deletions
diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
index 8f50e39e..4dd26458 100644
--- a/policy/modules/system/systemd.if
+++ b/policy/modules/system/systemd.if
@@ -821,6 +821,26 @@ interface(`systemd_start_power_units',`
########################################
## <summary>
+## Get the system status information about power units
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+#
+interface(`systemd_status_power_units',`
+ gen_require(`
+ type power_unit_t;
+ class service status;
+ ')
+
+ allow $1 power_unit_t:service status;
+')
+
+
+########################################
+## <summary>
## Make the specified type usable for
## systemd tmpfiles config files.
## </summary>