1 |
commit: 3e5d54e1629c156c4076759ff10df78bd6067151 |
2 |
Author: Chris PeBenito <pebenito <AT> ieee <DOT> org> |
3 |
AuthorDate: Thu Jan 28 15:55:54 2021 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 01:21:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3e5d54e1 |
7 |
|
8 |
samba: Fix samba_runtime_t alias use. |
9 |
|
10 |
Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/modules/services/samba.te | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/policy/modules/services/samba.te b/policy/modules/services/samba.te |
17 |
index 10960805..1d7683a2 100644 |
18 |
--- a/policy/modules/services/samba.te |
19 |
+++ b/policy/modules/services/samba.te |
20 |
@@ -207,7 +207,7 @@ allow samba_net_t self:fifo_file rw_file_perms; |
21 |
|
22 |
allow samba_net_t samba_etc_t:file read_file_perms; |
23 |
|
24 |
-allow samba_net_t samba_var_run_t:file { map read_file_perms }; |
25 |
+allow samba_net_t samba_runtime_t:file { map read_file_perms }; |
26 |
|
27 |
manage_files_pattern(samba_net_t, samba_etc_t, samba_secrets_t) |
28 |
filetrans_pattern(samba_net_t, samba_etc_t, samba_secrets_t, file) |