From 3415d17e7f46e580e6f198c1476ae0d21cd88541 Mon Sep 17 00:00:00 2001 From: Guido Trentalancia Date: Fri, 24 Jan 2020 11:29:27 -0800 Subject: [PATCH] Allow userdomain to read and write the wireless devices (for example for querying their state, enabling and/or disabling them using userspace tools such as "rfkill" from util-linux). See also: https://wireless.wiki.kernel.org/en/users/documentation/rfkill Signed-off-by: Guido Trentalancia --- policy/modules/system/userdomain.if | 1 + 1 file changed, 1 insertion(+) --- policy/modules/system/userdomain.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index c90eb8364..3ef0f7d6a 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -605,6 +605,7 @@ template(`userdom_common_user_template',` dev_read_sound($1_t) dev_read_sound_mixer($1_t) dev_write_sound_mixer($1_t) + dev_rw_wireless($1_t) files_exec_etc_files($1_t) files_search_locks($1_t)