aboutsummaryrefslogtreecommitdiff
path: root/selinux_pols/samba.te
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2014-11-24 19:05:36 +0100
committertoni <matzeton@googlemail.com>2014-11-24 19:05:36 +0100
commit587f4b1ae4aaccd5519083833e5f65b106904f51 (patch)
treecf1bbdf05a5e4447110738fc31114427bc1cc8eb /selinux_pols/samba.te
parentda31632e4c9dd01014477261d8e4486d70c993ac (diff)
- new selinux pols
Diffstat (limited to 'selinux_pols/samba.te')
-rw-r--r--selinux_pols/samba.te12
1 files changed, 12 insertions, 0 deletions
diff --git a/selinux_pols/samba.te b/selinux_pols/samba.te
new file mode 100644
index 0000000..b153f83
--- /dev/null
+++ b/selinux_pols/samba.te
@@ -0,0 +1,12 @@
+module samba-custom 1.0;
+
+require {
+ type sysctl_crypto_t;
+ type smbd_t;
+ class dir search;
+ class file { read getattr open };
+}
+
+#============= smbd_t ==============
+allow smbd_t sysctl_crypto_t:dir search;
+allow smbd_t sysctl_crypto_t:file { read getattr open };