diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-05 10:30:55 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-05 12:23:52 +0300 |
commit | 9c2ca46391ea2ba089d5d082a0dbdd3b15b28498 (patch) | |
tree | 19b4ceef6c687d85ff9816644b31929b347b9ada /src/ipa/rpi/controller/contrast_algorithm.h | |
parent | 98071d3109c131820439f61d9380c0bd4cd2119a (diff) |
libcamera: dma_buf_allocator: Create memfd with CLOEXEC
Ensure that the memfd file descriptor won't be leaked to child processes
by creating it with MFD_CLOEXEC.
Fixes: ea4baaacc325 ("libcamera: DmaBufAllocator: Support allocating from /dev/udmabuf")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rpi/controller/contrast_algorithm.h')
0 files changed, 0 insertions, 0 deletions