Searched refs:F_SEAL_SHRINK (Results 1 – 10 of 10) sorted by relevance
/linux/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() 1091 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | fcntl.h |
|
/linux/include/uapi/linux/ |
H A D | fcntl.h | 47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fcntl.h | 47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/linux/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/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 | 1219 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 285 F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in init_stub_exe_fd()
|
/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 299 #define SEALS_WANTED (F_SEAL_SHRINK)
|
/linux/fs/hugetlbfs/ |
H A D | inode.c | 882 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()
|