aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <jason@perfinion.com>2018-06-07 18:38:57 +0800
committerJason Zaman <jason@perfinion.com>2018-06-08 19:10:51 +0800
commitd47c34f5d993c54990c4a9504950b880dcc3145d (patch)
treed38614442e28661d2d24088caad06bfaabc521ea /policy/modules/system/lvm.te
parentMerge upstream (diff)
downloadhardened-refpolicy-d47c34f5d993c54990c4a9504950b880dcc3145d.tar.gz
hardened-refpolicy-d47c34f5d993c54990c4a9504950b880dcc3145d.tar.bz2
hardened-refpolicy-d47c34f5d993c54990c4a9504950b880dcc3145d.zip
lvm: allow reading initrc pipes
Bug: https://bugs.gentoo.org/615300
Diffstat (limited to 'policy/modules/system/lvm.te')
-rw-r--r--policy/modules/system/lvm.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/policy/modules/system/lvm.te b/policy/modules/system/lvm.te
index 9df068238..446ab7773 100644
--- a/policy/modules/system/lvm.te
+++ b/policy/modules/system/lvm.te
@@ -393,9 +393,12 @@ ifdef(`distro_gentoo',`
create_dirs_pattern(lvm_t, lvm_etc_t, lvm_metadata_t)
# Bug 529430 comment 6
create_dirs_pattern(lvm_t, lvm_etc_t, lvm_etc_t)
- # BUg 529430 comment 8
+ # Bug 529430 comment 8
manage_fifo_files_pattern(lvm_t, lvm_var_run_t, lvm_var_run_t)
+ # Bug 615300
+ init_read_script_pipes(lvm_t)
+
filetrans_pattern(lvm_t, lvm_etc_t, lvm_metadata_t, dir, "cache")
kernel_request_load_module(lvm_t)