aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2017-09-13 00:07:26 +0200
committerLuis Ressel <aranea@aixah.de>2017-09-14 21:34:44 +0200
commitbbed3e0a06d6248027b0ed1413ebad0784d9bd53 (patch)
treebaccefabc2d3478f2dc8c5d71de5496c35f29089
parentportage: Grant the map permissions neccessary for git and install (diff)
downloadhardened-refpolicy-bbed3e0a06d6248027b0ed1413ebad0784d9bd53.tar.gz
hardened-refpolicy-bbed3e0a06d6248027b0ed1413ebad0784d9bd53.tar.bz2
hardened-refpolicy-bbed3e0a06d6248027b0ed1413ebad0784d9bd53.zip
alsa: alsactl needs to map its configuration
The code is in alsactl/init_parse.c; there's no fallback.
-rw-r--r--policy/modules/contrib/alsa.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/policy/modules/contrib/alsa.te b/policy/modules/contrib/alsa.te
index f297b903a..898b6f19b 100644
--- a/policy/modules/contrib/alsa.te
+++ b/policy/modules/contrib/alsa.te
@@ -53,6 +53,7 @@ allow alsa_t alsa_home_t:file read_file_perms;
list_dirs_pattern(alsa_t, alsa_etc_t, alsa_etc_t)
read_files_pattern(alsa_t, alsa_etc_t, alsa_etc_t)
read_lnk_files_pattern(alsa_t, alsa_etc_t, alsa_etc_t)
+allow alsa_t alsa_etc_t:file map;
can_exec(alsa_t, alsa_exec_t)