sepolicy: tloc: add rule for vendor location data
Add rule to fix below denial comm="tloc_daemon" name="location" dev="dm-5" ino=226 scontext=u:r:vendor_tlocd:s0 tcontext=u:object_r: vendor_location_data_file:s0 tclass=dir permissive=0 Change-Id: Ie565027b720ea0f720b1fcae6987677aa36a7552
This commit is contained in:
parent
a11ce2a0b7
commit
182968ad2c
2 changed files with 6 additions and 0 deletions
3
generic/vendor/common/tlocd.te
vendored
3
generic/vendor/common/tlocd.te
vendored
|
@ -48,3 +48,6 @@ allow vendor_tlocd self:{ socket qipcrtr_socket } create_socket_perms;
|
|||
allowxperm vendor_tlocd self:{ socket qipcrtr_socket } ioctl msm_sock_ipc_ioctls;
|
||||
|
||||
allow vendor_tlocd ion_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow search of location vendor data files
|
||||
allow vendor_tlocd vendor_location_data_file:dir search;
|
||||
|
|
3
legacy/vendor/common/tlocd.te
vendored
3
legacy/vendor/common/tlocd.te
vendored
|
@ -48,3 +48,6 @@ allow tlocd self:{ socket qipcrtr_socket } create_socket_perms;
|
|||
allowxperm tlocd self:{ socket qipcrtr_socket } ioctl msm_sock_ipc_ioctls;
|
||||
|
||||
allow tlocd ion_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow search of location vendor data files
|
||||
allow tlocd location_data_file:dir search;
|
||||
|
|
Loading…
Reference in a new issue