Lines Matching refs:mfd_assert_has_seals

99 static void mfd_assert_has_seals(int fd, unsigned int seals)  in mfd_assert_has_seals()  function
702 mfd_assert_has_seals(fd, 0); in test_basic()
705 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
711 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
716 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
731 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
735 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
752 mfd_assert_has_seals(fd, 0); in test_seal_write()
754 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
782 mfd_assert_has_seals(fd, 0); in test_seal_future_write()
785 mfd_assert_has_seals(fd, F_SEAL_FUTURE_WRITE); in test_seal_future_write()
818 mfd_assert_has_seals(fd, 0); in test_seal_shrink()
820 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
844 mfd_assert_has_seals(fd, 0); in test_seal_grow()
846 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow()
870 mfd_assert_has_seals(fd, 0); in test_seal_resize()
872 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
896 mfd_assert_has_seals(fd, 0); in test_share_dup()
899 mfd_assert_has_seals(fd2, 0); in test_share_dup()
902 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_dup()
903 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_dup()
906 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
907 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
910 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
911 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
938 mfd_assert_has_seals(fd, 0); in test_share_mmap()
943 mfd_assert_has_seals(fd, 0); in test_share_mmap()
945 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_share_mmap()
951 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_mmap()
972 mfd_assert_has_seals(fd, 0); in test_share_open()
976 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_open()
977 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_open()
980 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
981 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
987 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
988 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
994 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
995 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
1015 mfd_assert_has_seals(fd, 0); in test_share_fork()
1019 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1022 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1027 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()