Searched refs:F_SEAL_SHRINK (Results 1 – 5 of 5) sorted by relevance
| /tools/testing/selftests/memfd/ |
| A D | memfd_test.c | 35 #define F_WX_SEALS (F_SEAL_SHRINK | \ 899 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 901 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 905 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 907 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 912 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 928 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 1039 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 1040 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 1515 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_share_mmap() [all …]
|
| /tools/perf/trace/beauty/include/uapi/linux/ |
| A D | fcntl.h | 47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
| /tools/testing/selftests/drivers/dma-buf/ |
| A D | udmabuf.c | 42 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in create_memfd_with_seals() 157 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | dmabuf_iter.c | 46 if (!ASSERT_OK(fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK), "seal")) in create_udmabuf()
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | ncdevmem.c | 140 ret = fcntl(ctx->memfd, F_ADD_SEALS, F_SEAL_SHRINK); in udmabuf_alloc()
|
Completed in 14 milliseconds