summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-03-27 16:27:30 -0700
committerTom Cherry <tomcherry@google.com>2017-03-27 17:41:27 -0700
commitb27004aa05039b5196f1e878169dca41b68aadd6 (patch)
treea859e2269ff0b19e4ff92634507be14eab7de084 /libunwindstack/tests/MemoryFileTest.cpp
parentb15429c0eade8a5f9b456c5f0aa57eec697e9ff2 (diff)
init: add exec_start command
Exec services may also want to set other service flags such as priority. Instead of expanding the exec syntax to handle this, create a new command, exec_start, that will treat an existing service definition as an exec service. The new exec_start command will start the service then halt init from executing further commands until the service has exited. This change additionally encapsulates the waiting_for_exec logic into ServiceManager and removes the ambiguous 'bool' return value from Reap() which previously indicated if a Reaped service was an exec service or not. Bug: 36511808 Bug: 36102163 Test: Bullhead boots, services run with exec_start as they do exec. Change-Id: I44f775cf1c1dd81d5c715f44fdc150c651a2c80a
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions