1 |
commit: 7c26bbe13b7092ebfcaf064de9f464bca877a98c |
2 |
Author: Jason Zaman <jason <AT> perfinion <DOT> com> |
3 |
AuthorDate: Tue Oct 31 05:37:06 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 5 06:38:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=7c26bbe1 |
7 |
|
8 |
userdomain: allow admin to rw tape storage |
9 |
|
10 |
policy/modules/system/userdomain.if | 2 ++ |
11 |
1 file changed, 2 insertions(+) |
12 |
|
13 |
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if |
14 |
index bc8052e6..cb183a90 100644 |
15 |
--- a/policy/modules/system/userdomain.if |
16 |
+++ b/policy/modules/system/userdomain.if |
17 |
@@ -1251,6 +1251,8 @@ template(`userdom_admin_user_template',` |
18 |
fs_set_all_quotas($1_t) |
19 |
fs_exec_noxattr($1_t) |
20 |
|
21 |
+ storage_read_tape($1_t) |
22 |
+ storage_write_tape($1_t) |
23 |
storage_raw_read_removable_device($1_t) |
24 |
storage_raw_write_removable_device($1_t) |