commit | d15c546ed794293d0a63770467a0f3c4c84c6214 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Wed Mar 09 18:11:12 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Sat Mar 12 01:00:07 2016 +0000 |
tree | 2bfe36f4978b5e41048e5c2e2aeb276b016d1efd | |
parent | cbc2274c4160805bf726df872390112654816ca7 [diff] |
Implement susped, resume and cancel for the Postinstall action. This patch sends SIGSTOP/SIGCONT to the running postinstall program to suspend/resume the child process, and SIGKILL when cancelling it. Bug: 27272144 TEST=Added unittest to check the signal being sent. Change-Id: Iebe9bd34448ad1d0a5340c82e1fd839ff8c69dd2