diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-06-08 15:00:40 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2018-06-11 10:04:11 -0700 |
commit | d32c36c961da82fa0b0e70a80d9a6e62a0551d2a (patch) | |
tree | faf001db69be602989469edb915180b228c7a11e /libsparse/sparse.cpp | |
parent | 59112043262a03877234b2ffc75fee273e39d9bd (diff) |
logd: Move the capabilities from file based to ambient
This change moves logd's capabilities from being file based to being set
by init through ambient capabilities.
Bug: 62845925
Test: sailfish:/ # grep Cap /proc/`pidof logd`/status
CapInh: 0000000000000000
CapPrm: 0000000440000000
CapEff: 0000000440000000
CapBnd: 0000000440000040
CapAmb: 0000000000000000
$ capsh --decode=0x440000040
0x440000040=cap_setgid,cap_audit_control,cap_syslog
Test: liblog-unit-tests, logd-unit-tests, logcat-unit-tests
Change-Id: I28c7c4ad37ad5eafd399aef78c303ce31298a9ef
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions