Lines Matching refs:mfd_assert_has_seals
210 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals() function
915 mfd_assert_has_seals(fd, 0); in test_basic()
918 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
924 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
929 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
944 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
948 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
965 mfd_assert_has_seals(fd, 0); in test_seal_write()
967 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
995 mfd_assert_has_seals(fd, 0); in test_seal_future_write()
998 mfd_assert_has_seals(fd, F_SEAL_FUTURE_WRITE); in test_seal_future_write()
1030 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write_map_read_shared()
1055 mfd_assert_has_seals(fd, 0); in test_seal_shrink()
1057 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
1081 mfd_assert_has_seals(fd, 0); in test_seal_grow()
1083 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow()
1107 mfd_assert_has_seals(fd, 0); in test_seal_resize()
1109 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
1139 mfd_assert_has_seals(fd, 0); in test_exec_seal()
1141 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_exec_seal()
1161 mfd_assert_has_seals(fd, 0); in test_exec_seal()
1163 mfd_assert_has_seals(fd, F_WX_SEALS); in test_exec_seal()
1186 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_exec_no_seal()
1205 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1214 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1229 mfd_assert_has_seals(fd, 0); in test_sysctl_sysctl0()
1250 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1258 mfd_assert_has_seals(fd, 0); in test_sysctl_sysctl1()
1266 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1287 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl2()
1298 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl2()
1564 mfd_assert_has_seals(fd, 0); in test_share_dup()
1567 mfd_assert_has_seals(fd2, 0); in test_share_dup()
1570 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_dup()
1571 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_dup()
1574 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
1575 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
1578 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
1579 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
1606 mfd_assert_has_seals(fd, 0); in test_share_mmap()
1611 mfd_assert_has_seals(fd, 0); in test_share_mmap()
1613 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_share_mmap()
1619 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_mmap()
1640 mfd_assert_has_seals(fd, 0); in test_share_open()
1644 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_open()
1645 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_open()
1648 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1649 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1655 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1656 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1662 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
1663 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
1683 mfd_assert_has_seals(fd, 0); in test_share_fork()
1687 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1690 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1695 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()