diff options
| author | Tom Cherry <tomcherry@google.com> | 2018-01-10 11:04:34 -0800 |
|---|---|---|
| committer | Tom Cherry <tomcherry@google.com> | 2018-01-12 10:35:26 -0800 |
| commit | c49719fc5d2cf3817f6997ce40fc2dac7d411efa (patch) | |
| tree | 20976b810ebb16b32d2bf125bed2df5750a1f763 /trusty/coverage/coverage_test.cpp | |
| parent | eac86b0ea90f19f9a4116e9a1ca401f0959ceb03 (diff) | |
init: always expand args in subcontext
Currently init expands properties in arguments only when those
commands are run in a subcontext. This creates a hole where
properties that should not be accessible from a given subcontext of
init can be accessed when running a command in the main init
executable (for example `start`).
This change creates a callback in subcontext init that simply expands
and returns arguments back to the main init process, to ensure that
only those properties that a subcontext can access get expanded.
Bug: 62875318
Test: boot bullhead, new unit tests
Change-Id: I2850009e70da877c08e4cc83350c727b0ea98796
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
