diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-07-19 09:24:37 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-07-31 15:29:56 +0200 |
commit | 119428fa1cbfd089961cf7b743dae55e06f06bf7 (patch) | |
tree | 73ca57d4b8dcb78360c7d2062f9f5987f1e6c380 /src/cam/buffer_writer.cpp | |
parent | 9e6147d30392178abffd7c71426dc70250127ce2 (diff) |
libcamera: process: Fail loudly on isolate
Add an error debug message when disassociating part of a process
execution context using unshare fails.
As this is currently used to isolate a child process which is
immediately terminated silently if unshare fails, add a debug printout
and propagate up the error code to make the failure more visible.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/buffer_writer.cpp')
0 files changed, 0 insertions, 0 deletions