commit | b61c6752c35ad633956a67d10c4533907b748daa | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Wed Dec 03 11:35:11 2014 -0800 |
committer | Bogdan Caprita <caprita@google.com> | Wed Dec 03 11:35:19 2014 -0800 |
tree | 665bd9ba5e35ba8ba18b7d99946783d96737560c | |
parent | c13446ba11d6d9ff699b6be2b6d1ddc857b70b02 [diff] |
veyron/security/agent/agentd: kill child command when the agent is killed If the agent receives a signal like TERM or INT, we want the agent to first kill its child before exiting. The change makes agent listen for ShutdownOnSignals and relay the received signal to the child (so that the child has a chance to shut down cleanly). Change-Id: I9301ff092b7b7cdce1d6b7bf655e3ff41811630a