Searched refs:F_SEAL_SHRINK (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/tools/testing/selftests/memfd/ |
D | memfd_test.c | 595 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 597 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 601 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 603 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 608 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 624 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 667 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 668 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 715 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 716 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | fcntl.h | 40 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/linux-4.1.27/mm/ |
D | shmem.c | 560 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr() 1942 F_SEAL_SHRINK | \
|