diff options
author | Giulio Benetti <giulio.benetti@micronovasrl.com> | 2019-04-26 10:42:20 +0200 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-04-26 14:31:59 +0200 |
commit | ab0188fc8bbb6f397ac3aa11c9377662b7bd88b0 (patch) | |
tree | c891517daca91b1fb239c5c19c3f66d6c50124ff /src/cam/options.cpp | |
parent | 46bfc321578fbd828afbfb8f15f35fb4b45ebc70 (diff) |
libcamera: utils: call secure_getenv() if it exists or workaround with issetugid()
When secure_getenv() is not available, need to have a workaround.
Check if secure_getenv() is present, otherwise call issetugid() on its
place.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[Kieran: include stdlib.h]
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/options.cpp')
0 files changed, 0 insertions, 0 deletions