systemd: fixed systemd_rfkill_t denial spam

Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
bauen1 2019-10-12 15:51:53 +02:00
parent a9ff07d886
commit 6ce9865e6c
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
1 changed files with 2 additions and 0 deletions

View File

@ -1072,6 +1072,8 @@ optional_policy(`
# Rfkill local policy
#
allow systemd_rfkill_t self:netlink_kobject_uevent_socket { bind create getattr read setopt };
manage_dirs_pattern(systemd_rfkill_t, systemd_rfkill_var_lib_t, systemd_rfkill_var_lib_t)
manage_files_pattern(systemd_rfkill_t, systemd_rfkill_var_lib_t, systemd_rfkill_var_lib_t)
init_var_lib_filetrans(systemd_rfkill_t, systemd_rfkill_var_lib_t, dir)