From: Stricted Date: Tue, 1 May 2018 00:41:43 +0000 (+0200) Subject: sepolicy: address some nvram_daemon denials X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9562b311e7e481fe226fb536f97a14a72734d02b;p=GitHub%2Fmt8127%2Fandroid_device_alcatel_ttab.git sepolicy: address some nvram_daemon denials Change-Id: I0ad15a06d19b4b69b205d9b28706e4fb59dce79b --- diff --git a/sepolicy/nvram_daemon.te b/sepolicy/nvram_daemon.te index dbc31e8..3284798 100644 --- a/sepolicy/nvram_daemon.te +++ b/sepolicy/nvram_daemon.te @@ -28,3 +28,7 @@ unix_socket_connect(nvram_daemon, property, init) allow nvram_daemon sysfs_boot_mode:file { read open }; allow nvram_daemon sysfs:file { write }; allow nvram_daemon system_prop:property_service { set }; + +allow nvram_daemon nvram_device:chr_file { read write open }; +allow nvram_daemon mmc_device:blk_file { read write open }; +allow nvram_daemon proinfo_device:chr_file { read write open ioctl };