5b557888dd
Sharing data folders by path will be disallowed because it violates
the approved API between platform and vendor components tested by
VTS. Move all violating permissions from core selinux policy to
device specific policy so that we can exempt existing devices from
the ban and enforce it on new devices.
Bug: 34980020
Test: Move permissions. Build and test wifi, wifi AP, nfc, fingerprint
and Play movies on Marlin and Taimen.
Test: build on Angler, Bullhead, Dragon, Fugu, Marlin, Walleye
(cherry picked from commit ba2130a882
)
Change-Id: Iaedbbe31237822cf3348209028bba45ad85465f8
12 lines
470 B
Text
12 lines
470 B
Text
# HwBinder IPC from client to server, and callbacks
|
|
binder_call(hal_fingerprint_client, hal_fingerprint_server)
|
|
binder_call(hal_fingerprint_server, hal_fingerprint_client)
|
|
|
|
add_hwservice(hal_fingerprint_server, hal_fingerprint_hwservice)
|
|
allow hal_fingerprint_client hal_fingerprint_hwservice:hwservice_manager find;
|
|
|
|
# For memory allocation
|
|
allow hal_fingerprint ion_device:chr_file r_file_perms;
|
|
|
|
r_dir_file(hal_fingerprint, cgroup)
|
|
r_dir_file(hal_fingerprint, sysfs)
|