[ALPS04324880] em_svr: add map permission for shell_exec
[Detail] Add map permission for shell_exec to let Batterylog.java can set command from shell. Modify the permission list to rx_file_perms. MTK-Commit-Id: d8f72393dddc2787c88bb2141594319bfe473e9a Change-Id: I04b1b5c056223e30d5d8b6f8fe7a503afc28b521 CR-Id: ALPS04324880 Feature: Power Delivery (cherry picked from commit 63fd26ecb2014b5a03db649b332858943a6893a9)
This commit is contained in:
parent
0ae36245e9
commit
9f2e49db1c
@ -52,7 +52,7 @@ allow em_svr self:capability { chown fsetid };
|
||||
|
||||
# Date: WK1812
|
||||
# Purpose: add for shell cmd
|
||||
allow em_svr shell_exec:file { getattr execute read open execute_no_trans };
|
||||
allow em_svr shell_exec:file rx_file_perms;
|
||||
|
||||
# Date: WK1812
|
||||
# Purpose: add for power battery charge/PMU
|
||||
|
Loading…
x
Reference in New Issue
Block a user