fix dma-buf/udmabuf selftest

This patch fixes the udmabuf selftest. Currently the selftest is broken.
I fixed the selftest by setting the F_SEAL_SHRINK seal on the memfd
file descriptor which is required by udmabuf and added the test to
the selftest Makefile.

Signed-off-by: Tom Murphy <murphyt7@tcd.ie>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Shuah Khan <shuah@kernel.org>
This commit is contained in:
Tom Murphy
2018-11-27 10:33:08 +00:00
committed by Shuah Khan
parent 0ca2923e2a
commit 6edf2e3710
3 changed files with 12 additions and 2 deletions

View File

@@ -2,4 +2,6 @@ CFLAGS += -I../../../../../usr/include/
TEST_GEN_PROGS := udmabuf
top_srcdir ?=../../../../..
include ../../lib.mk