Lahaina,Holi: Adding Kill capability to perf hal service.

Adding permission to kill only the app domain from vendor.

Change-Id: I9b393c9d12b01ff2b68ece3e04bd4445b2d62f5b
This commit is contained in:
Sai Manobhiram 2020-10-06 14:29:05 +05:30
parent 79c8a866b7
commit 1f69231ee7
2 changed files with 6 additions and 2 deletions

View file

@ -25,4 +25,6 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
binder_call(vendor_hal_perf_default, vendor_poweroptservice)
allow vendor_hal_perf_default self:capability kill;
allow vendor_hal_perf_default {appdomain}:process sigkill;
binder_call(vendor_hal_perf_default, vendor_poweroptservice)

View file

@ -25,4 +25,6 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
binder_call(vendor_hal_perf_default, vendor_poweroptservice)
allow vendor_hal_perf_default self:capability kill;
allow vendor_hal_perf_default {appdomain}:process sigkill;
binder_call(vendor_hal_perf_default, vendor_poweroptservice)