storaged: lower capabilities in init
Lower storaged's capabilities to DAC_READ_SEARCH as an initial step toward running it non-root. Bug: 77634061 Test: storaged still runs and its /proc/pid/status has lower CapPrms Exempt-From-Owner-Approval: stale OWNERS no longer in org Change-Id: Ibfe0349fc059e2f37efba33f587176e8ce6be9fe Merged-In: Ibfe0349fc059e2f37efba33f587176e8ce6be9fe
This commit is contained in:
parent
c43dd75194
commit
ce135a67af
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
service storaged /system/bin/storaged
|
||||
class main
|
||||
capabilities DAC_READ_SEARCH
|
||||
priority 10
|
||||
file /d/mmc0/mmc0:0001/ext_csd r
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
|
Loading…
Reference in a new issue