Searched refs:F_SEAL_SHRINK (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/memfd/ |
D | memfd_test.c | 669 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 671 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 675 mfd_assert_add_seals(fd, F_SEAL_SHRINK | in test_basic() 677 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 682 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic() 698 mfd_fail_add_seals(fd, F_SEAL_SHRINK | in test_basic() 783 mfd_assert_add_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 784 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink() 835 mfd_assert_add_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() 836 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize() [all …]
|
/tools/include/uapi/linux/ |
D | fcntl.h | 41 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ macro
|
/tools/testing/selftests/drivers/dma-buf/ |
D | udmabuf.c | 42 ret = fcntl(memfd, F_ADD_SEALS, F_SEAL_SHRINK); in main()
|