Merge "[ALPS03841839] Copy fstab failed in nvram daemon" into alps-trunk-p0.basic

Change-Id: Ic9a533c6778d35dcb787bc3fcd4fff5ca987ddd3
MTK-Commit-Id: f2bc4cd47bc31cb7ed6bf48b7c0ec1f1da1fbd50
This commit is contained in:
Denis Hsu 2020-01-18 09:51:36 +08:00 committed by Gerrit Code Review
commit 2ec7a38162

View File

@ -105,3 +105,10 @@ allow nvram_daemon sysfs:file read;
# Operation: P migration # Operation: P migration
# Purpose: Allow nvram_daemon to get tel_switch_prop # Purpose: Allow nvram_daemon to get tel_switch_prop
get_prop(nvram_daemon, tel_switch_prop) get_prop(nvram_daemon, tel_switch_prop)
# Date : WK18.21
# Operation: P migration
# Purpose: Allow nvram_daemon to search /mnt/vendor/nvdata for fstab
allow nvram_daemon mnt_vendor_file:dir search;
allow nvram_daemon self:capability { fowner chown fsetid };