HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
[linux/fpc-iii.git] / tools / testing / selftests / memfd / Makefile
blobfd396ac811b6a73f086e605ef93e0d2c92401ad6
1 CC = $(CROSS_COMPILE)gcc
2 CFLAGS += -D_FILE_OFFSET_BITS=64
3 CFLAGS += -I../../../../include/uapi/
4 CFLAGS += -I../../../../include/
5 CFLAGS += -I../../../../usr/include/
7 TEST_PROGS := memfd_test
9 all: $(TEST_PROGS)
11 include ../lib.mk
13 build_fuse: fuse_mnt fuse_test
15 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
16 fuse_mnt: LDFLAGS += $(shell pkg-config fuse --libs)
18 run_fuse: build_fuse
19 @./run_fuse_test.sh || echo "fuse_test: [FAIL]"
21 clean:
22 $(RM) memfd_test fuse_test