Adding self kill capability for perf hal

Allow perf for self kill capability

Change-Id: I88c24af42e87112a2abeb3efe1656871cccf6751
This commit is contained in:
richagar
2019-06-21 19:48:37 +05:30
committed by Gerrit - the friendly Code Review server
parent 718f54d0f1
commit 4c9b4e5542
2 changed files with 6 additions and 0 deletions

View File

@@ -89,3 +89,6 @@ allow hal_perf {
sysfs_scsi_host
sysfs_kgsl
}:lnk_file r_file_perms;
# Allow to self kill capability
allow hal_perf_default self:capability { kill };

View File

@@ -91,3 +91,6 @@ allow hal_perf {
sysfs_scsi_host
sysfs_kgsl
}:lnk_file r_file_perms;
# Allow to self kill capability
allow hal_perf_default self:capability { kill };