1 |
commit: d46e984bba90f703233e36a3c77926f0e4711859 |
2 |
Author: Luis Ressel via refpolicy <refpolicy <AT> oss <DOT> tresys <DOT> com> |
3 |
AuthorDate: Tue Oct 24 23:46:43 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 29 12:59:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d46e984b |
7 |
|
8 |
kernel/files.if: files_list_kernel_modules should grant read perms for symlinks |
9 |
|
10 |
files_search_kernel_modules also grant this; there's a couple of |
11 |
symlinks in /lib/modules/. |
12 |
|
13 |
policy/modules/kernel/files.if | 1 + |
14 |
1 file changed, 1 insertion(+) |
15 |
|
16 |
diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if |
17 |
index a9557079..05ca46a7 100644 |
18 |
--- a/policy/modules/kernel/files.if |
19 |
+++ b/policy/modules/kernel/files.if |
20 |
@@ -3966,6 +3966,7 @@ interface(`files_list_kernel_modules',` |
21 |
') |
22 |
|
23 |
allow $1 modules_object_t:dir list_dir_perms; |
24 |
+ read_lnk_files_pattern($1, modules_object_t, modules_object_t) |
25 |
') |
26 |
|
27 |
######################################## |