Merge "[ALPS03891225] Add policy for nvram" into alps-trunk-p0.basic

Change-Id: I1b101e17f496c8566046de546be2361495821818
MTK-Commit-Id: b34091511b4bb872c7c8ca6111aa83a523dfe09d
This commit is contained in:
Denis Hsu 2020-01-18 10:02:42 +08:00 committed by Gerrit Code Review
commit 71e3aaeba5
2 changed files with 3 additions and 0 deletions

View File

@ -71,3 +71,4 @@ get_prop(nvram_daemon, tel_switch_prop)
# Purpose: Allow to search /mnt/vendor/nvdata when using nvram function # Purpose: Allow to search /mnt/vendor/nvdata when using nvram function
allow nvram_agent_binder mnt_vendor_file:dir search; allow nvram_agent_binder mnt_vendor_file:dir search;
allow nvram_agent_binder sysfs_boot_mode:file r_file_perms;

View File

@ -89,3 +89,5 @@ get_prop(nvram_daemon, tel_switch_prop)
allow nvram_daemon mnt_vendor_file:dir search; allow nvram_daemon mnt_vendor_file:dir search;
allow nvram_daemon self:capability { fowner chown fsetid }; allow nvram_daemon self:capability { fowner chown fsetid };
allow nvram_daemon sysfs_boot_mode:file r_file_perms;