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 8622ab3d20
commit 4bdff782eb
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 };