summaryrefslogtreecommitdiff
path: root/test/TEST-06-SELINUX/systemd_test.if
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-01 11:34:56 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-01 11:34:56 +0100
commitda21f8743ae66ddec9dc596f0c182747f8b00daa (patch)
tree94489a3f9b2983e6be9780651109043eac0b203a /test/TEST-06-SELINUX/systemd_test.if
parenta6c5361bb1fff4c38459bb4a352d8a4b5a1e6a0c (diff)
parentf596e00f32766df011b322b1b0c700add0aae032 (diff)
Merge pull request #2493 from evverx/fix-selinux-checks
Fix selinux check for ReloadUnit
Diffstat (limited to 'test/TEST-06-SELINUX/systemd_test.if')
-rw-r--r--test/TEST-06-SELINUX/systemd_test.if8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-06-SELINUX/systemd_test.if b/test/TEST-06-SELINUX/systemd_test.if
new file mode 100644
index 0000000000..25c91adce9
--- /dev/null
+++ b/test/TEST-06-SELINUX/systemd_test.if
@@ -0,0 +1,8 @@
+template(`systemd_test_base_template', `
+ gen_require(`
+ attribute systemd_test_domain_type;
+ ')
+
+ type $1_t, systemd_test_domain_type;
+ domain_type($1_t)
+')