Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/memfd/
Dmemfd_test.c595 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/
Dfcntl.h40 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
/linux-4.1.27/mm/
Dshmem.c560 if ((newsize < oldsize && (info->seals & F_SEAL_SHRINK)) || in shmem_setattr()
1942 F_SEAL_SHRINK | \