| commit | b066fccc5c977f3e464676d58a7fa550d368f426 | [log] [tgz] |
|---|---|---|
| author | Mark Salyzyn <salyzyn@google.com> | Fri May 05 14:44:35 2017 -0700 |
| committer | Mark Salyzyn <salyzyn@google.com> | Mon May 08 14:04:13 2017 -0700 |
| tree | 5371a7e99c4ab965fcdc7c77342631c184083285 | |
| parent | 823816ee9f3ee7519a282d3a089d23f0e96018ef [diff] |
init: add "+passcred" for socket to set SO_PASSCRED
In the init scripts for socket, the type can have a suffix of
"+passcred" to request that the socket be bound to report SO_PASSCRED
credentials as part of socket transactions.
Test: gTest logd-unit-tests --gtest_filter=logd.statistics right after boot
(fails without logd.rc change)
Bug: 37985222
Change-Id: Ie5b50e99fb92fa9bec9a32463a0e6df26a968bfd