Home
last modified time | relevance | path

Searched refs:F_SEAL_SHRINK (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/memfd/
H A Dmemfd_test.c35 #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 Dfcntl.h
/linux/include/uapi/linux/
H A Dfcntl.h47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h47 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/linux/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c42 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 Dmemfd.c188 F_SEAL_SHRINK | \
265 seals |= F_SEAL_SHRINK|F_SEAL_GROW|F_SEAL_WRITE|F_SEAL_FUTURE_WRITE; in memfd_add_seals()
H A Dshmem.c1219 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
/linux/arch/um/os-Linux/skas/
H A Dprocess.c285 F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_SEAL); in init_stub_exe_fd()
/linux/drivers/dma-buf/
H A Dudmabuf.c299 #define SEALS_WANTED (F_SEAL_SHRINK)
/linux/fs/hugetlbfs/
H A Dinode.c882 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in hugetlbfs_setattr()