| commit | 0d2a1dcb49d0d61b4a660d4f7107b8fdb48debf7 | [log] [tgz] |
|---|---|---|
| author | Mark Salyzyn <salyzyn@google.com> | Fri Oct 28 12:41:17 2016 -0700 |
| committer | Mark Salyzyn <salyzyn@google.com> | Thu Nov 03 13:34:27 2016 -0700 |
| tree | 74bbe75b24f8df88f5b50d16dbb227c361e56a1d | |
| parent | e0b8ccd1a3db7059c56322ad6cbcb7d7c34c2954 [diff] |
logd: set executable's capabilities in file system
Add CAP_SYSLOG, CAP_AUDIT_CONTROL and CAP_SETGID, set
uid and gid to AID_LOGD, and permissions user and group
read and execute only.
Fix up indents for in table for clarity.
Test: gTest logd-unit-tests, liblog-unit-tests and logcat-unit-tests
Manually inspect owner and group for /system/bin/logd
Bug: 32450474
Change-Id: I5183ab200dbcd13efb0727cb91db5b12018ae804