summaryrefslogtreecommitdiff
path: root/tests/policies/test-deps/modreq-obj-global.conf
diff options
context:
space:
mode:
authorSE Android <seandroid@taiga.selinuxproject.org>2012-01-24 05:26:38 -0800
committerSE Android <seandroid@taiga.selinuxproject.org>2012-01-24 05:26:38 -0800
commit255e72915d4cbddceb435e13d81601755714e9f3 (patch)
treed9e146f714ac6197865554529bcd1e3d10cbaec2 /tests/policies/test-deps/modreq-obj-global.conf
downloadlibsepol-255e72915d4cbddceb435e13d81601755714e9f3.tar.gz
Import libsepol 2.1.0 (Release 2011-07-27).
Diffstat (limited to 'tests/policies/test-deps/modreq-obj-global.conf')
-rw-r--r--tests/policies/test-deps/modreq-obj-global.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/policies/test-deps/modreq-obj-global.conf b/tests/policies/test-deps/modreq-obj-global.conf
new file mode 100644
index 0000000..e9eba77
--- /dev/null
+++ b/tests/policies/test-deps/modreq-obj-global.conf
@@ -0,0 +1,13 @@
+module modreq_obj_global 1.0;
+
+require {
+ class sem { create destroy };
+}
+
+type mod_global_t;
+
+type mod_foo_t;
+type mod_bar_t;
+
+allow mod_foo_t mod_bar_t : sem { create destroy };
+