Lines Matching refs:mfd_assert_has_seals
193 static void mfd_assert_has_seals(int fd, unsigned int seals) in mfd_assert_has_seals() function
898 mfd_assert_has_seals(fd, 0); in test_basic()
901 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
907 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
912 mfd_assert_has_seals(fd, F_SEAL_SHRINK | in test_basic()
927 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
931 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_basic()
948 mfd_assert_has_seals(fd, 0); in test_seal_write()
950 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write()
978 mfd_assert_has_seals(fd, 0); in test_seal_future_write()
981 mfd_assert_has_seals(fd, F_SEAL_FUTURE_WRITE); in test_seal_future_write()
1013 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_seal_write_map_read_shared()
1038 mfd_assert_has_seals(fd, 0); in test_seal_shrink()
1040 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_seal_shrink()
1064 mfd_assert_has_seals(fd, 0); in test_seal_grow()
1066 mfd_assert_has_seals(fd, F_SEAL_GROW); in test_seal_grow()
1090 mfd_assert_has_seals(fd, 0); in test_seal_resize()
1092 mfd_assert_has_seals(fd, F_SEAL_SHRINK | F_SEAL_GROW); in test_seal_resize()
1122 mfd_assert_has_seals(fd, 0); in test_exec_seal()
1124 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_exec_seal()
1144 mfd_assert_has_seals(fd, 0); in test_exec_seal()
1146 mfd_assert_has_seals(fd, F_WX_SEALS); in test_exec_seal()
1169 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_exec_no_seal()
1188 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1197 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_noexec_seal()
1212 mfd_assert_has_seals(fd, 0); in test_sysctl_sysctl0()
1233 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1241 mfd_assert_has_seals(fd, 0); in test_sysctl_sysctl1()
1249 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl1()
1270 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl2()
1281 mfd_assert_has_seals(fd, F_SEAL_EXEC); in test_sysctl_sysctl2()
1467 mfd_assert_has_seals(fd, 0); in test_share_dup()
1470 mfd_assert_has_seals(fd2, 0); in test_share_dup()
1473 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_dup()
1474 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_dup()
1477 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
1478 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_dup()
1481 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
1482 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_dup()
1509 mfd_assert_has_seals(fd, 0); in test_share_mmap()
1514 mfd_assert_has_seals(fd, 0); in test_share_mmap()
1516 mfd_assert_has_seals(fd, F_SEAL_SHRINK); in test_share_mmap()
1522 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_mmap()
1543 mfd_assert_has_seals(fd, 0); in test_share_open()
1547 mfd_assert_has_seals(fd, F_SEAL_WRITE); in test_share_open()
1548 mfd_assert_has_seals(fd2, F_SEAL_WRITE); in test_share_open()
1551 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1552 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1558 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1559 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK); in test_share_open()
1565 mfd_assert_has_seals(fd, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
1566 mfd_assert_has_seals(fd2, F_SEAL_WRITE | F_SEAL_SHRINK | F_SEAL_SEAL); in test_share_open()
1586 mfd_assert_has_seals(fd, 0); in test_share_fork()
1590 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1593 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()
1598 mfd_assert_has_seals(fd, F_SEAL_SEAL); in test_share_fork()