diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2021-07-26 14:35:51 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2021-07-27 10:07:13 +0530 |
commit | 28990d36fea96f729231dfb6c978b7606b0f74cc (patch) | |
tree | bfeedac1ad100745f58ef951ee0b3e7340c62256 /utils/ipc/mojo/README | |
parent | 799a04b7e7a15b2ec37cb0b2439f8fcfad8ac5e9 (diff) |
utils: ipc: Assign a new gid to proxy worker
Isolated IPAs are forked to a new process by the proxy worker, which
shares the same process group. This allows the undesired effect that
the proxy worker will receive signals such as SIGINT and will be closed
by a Ctrl-C event before the pipeline handlers have been able to fully
clean up.
Prevent this signal from being delivered to the proxy worker by moving
the process to a new process group, matching the pid of the isolated
proxy.
Bug: https://bugs.libcamera.org/show_bug.cgi?id=60
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'utils/ipc/mojo/README')
0 files changed, 0 insertions, 0 deletions