diff options
author | You-Sheng Yang <vicamo.yang@canonical.com> | 2020-07-25 20:24:40 +0800 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-27 13:53:53 +0300 |
commit | 774f0d1b9b59f5a779d0bf257b365f307cf191f8 (patch) | |
tree | 9a189754702b2d029e1f8be90c292ed53d188aa9 /include/linux/dma-buf.h | |
parent | 256845d5b7edf97b77a99257d18e53d3453bc534 (diff) |
libcamera: process: Fix killing innocent processes unexpectedly
When a libcamera::process is being destructed or called kill() without a
previous successful call to start(), it's pid_ may remains -1, which
causes all the killable processes being killed when passed to
`kill(pid_, SIG_KILL)`.
Signed-off-by: You-Sheng Yang <vicamo.yang@canonical.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/dma-buf.h')
0 files changed, 0 insertions, 0 deletions