[ALPS03891225] Add policy for nvram
Allow to access boot mode for nvram MTK-Commit-Id: 42ba22047669fe5e19c2ad7919807f2dd5323950 Change-Id: Id3118a6666a068330bdeb2d4663c478aa94cd307 CR-Id: ALPS03891225 Feature: Multi-Storage
This commit is contained in:
parent
a67cd8a97a
commit
a488de6a7f
@ -71,3 +71,4 @@ get_prop(nvram_daemon, tel_switch_prop)
|
||||
# Purpose: Allow to search /mnt/vendor/nvdata when using nvram function
|
||||
allow nvram_agent_binder mnt_vendor_file:dir search;
|
||||
|
||||
allow nvram_agent_binder sysfs_boot_mode:file r_file_perms;
|
@ -89,3 +89,5 @@ get_prop(nvram_daemon, tel_switch_prop)
|
||||
allow nvram_daemon mnt_vendor_file:dir search;
|
||||
allow nvram_daemon self:capability { fowner chown fsetid };
|
||||
|
||||
allow nvram_daemon sysfs_boot_mode:file r_file_perms;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user