diff options
Diffstat (limited to 'selinux_pols/samba.te')
-rw-r--r-- | selinux_pols/samba.te | 12 |
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 }; |