diff options
author | Ivan Efimov <i.efimov@inango-systems.com> | 2019-11-05 19:07:03 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-07 19:47:04 +0000 |
commit | 532f2df7705919b0489b9ca08a7d093181c0599f (patch) | |
tree | 1b95d112a8c27642c6d962dc78f1ad422e2c7eb5 /meta/files/ext-sdk-prepare.py | |
parent | 51f6145f8f99a02df1dad937684f014b0172e72a (diff) | |
download | poky-532f2df7705919b0489b9ca08a7d093181c0599f.tar.gz |
bitbake: bitbake-worker child process create group before registering SIGTERM handler
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.
In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.
(Bitbake rev: b51877cbb8a7c713aa2bcec8354ec66e2f3dad51)
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files/ext-sdk-prepare.py')
0 files changed, 0 insertions, 0 deletions