summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-05 10:30:55 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-05 12:23:52 +0300
commit9c2ca46391ea2ba089d5d082a0dbdd3b15b28498 (patch)
tree19b4ceef6c687d85ff9816644b31929b347b9ada /src/apps
parent98071d3109c131820439f61d9380c0bd4cd2119a (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/apps')
0 files changed, 0 insertions, 0 deletions