diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-05 10:34:17 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-05 15:11:21 +0300 |
commit | 9f0d88695ed6691a3e18c256d9d49862b3af6e34 (patch) | |
tree | 18b56246572ec71f8dd2f7ebc06ac1251f996f8c /test/object-delete.cpp | |
parent | 9c2ca46391ea2ba089d5d082a0dbdd3b15b28498 (diff) |
libcamera: dma_buf_allocator: Work around lack of memfd_create() in uClibc
uClibc doesn't provide a memfd_create() implementation. Fix it by using
a direct syscall when the function isn't available.
Fixes: ea4baaacc325 ("libcamera: DmaBufAllocator: Support allocating from /dev/udmabuf")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/object-delete.cpp')
0 files changed, 0 insertions, 0 deletions