From: pebenito@ieee.org (Chris PeBenito) Date: Tue, 12 Sep 2017 18:48:58 -0400 Subject: [refpolicy] [PATCH 2/2] kernel: Add map permission to the dev_{read, write}_sound* interfaces In-Reply-To: <20170912021116.14272-2-aranea@aixah.de> References: <20170912021116.14272-1-aranea@aixah.de> <20170912021116.14272-2-aranea@aixah.de> Message-ID: <80989fd2-b653-482c-b191-2a3ce0e9d396@ieee.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 09/11/2017 10:11 PM, Luis Ressel via refpolicy wrote: > sds already added it to dev_read_sound_mixer, but it's also needed in > the other interfaces. > --- > policy/modules/kernel/devices.if | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if > index b8f85c2ad..4c47709ff 100644 > --- a/policy/modules/kernel/devices.if > +++ b/policy/modules/kernel/devices.if > @@ -3751,6 +3751,7 @@ interface(`dev_read_sound',` > ') > > read_chr_files_pattern($1, device_t, sound_device_t) > + allow $1 sound_device_t:chr_file map; > ') > > ######################################## > @@ -3769,6 +3770,7 @@ interface(`dev_write_sound',` > ') > > write_chr_files_pattern($1, device_t, sound_device_t) > + allow $1 sound_device_t:chr_file map; > ') > > ######################################## > @@ -3806,6 +3808,7 @@ interface(`dev_write_sound_mixer',` > ') > > write_chr_files_pattern($1, device_t, sound_device_t) > + allow $1 sound_device_t:chr_file map; Merged. -- Chris PeBenito