Searched refs:F_SEAL_SHRINK (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/tools/testing/selftests/memfd/ |
| H 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 …]
|
| /linux-6.15/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | fcntl.h | 47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
| /linux-6.15/include/uapi/linux/ |
| H A D | fcntl.h | 47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
| /linux-6.15/tools/testing/selftests/drivers/dma-buf/ |
| H 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()
|
| /linux-6.15/mm/ |
| H A D | memfd.c | 188 F_SEAL_SHRINK | \ 265 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
|
| H A D | shmem.c | 1300 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
|
| /linux-6.15/arch/um/os-Linux/skas/ |
| H A D | process.c | 295 F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in init_stub_exe_fd()
|
| /linux-6.15/drivers/dma-buf/ |
| H A D | udmabuf.c | 299 #define SEALS_WANTED (F_SEAL_SHRINK)
|
| /linux-6.15/tools/testing/selftests/drivers/net/hw/ |
| H A D | ncdevmem.c | 121 ret = fcntl(ctx->memfd, F_ADD_SEALS, F_SEAL_SHRINK); in udmabuf_alloc()
|
| /linux-6.15/fs/hugetlbfs/ |
| H A D | inode.c | 879 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()
|