Lines Matching defs:seals
194 static void mfd_assert_has_seals(int fd, unsigned int seals)
202 if (s != seals) {
203 printf("%u != %u = GET_SEALS(%s)\n", seals, s, buf);
208 static void mfd_assert_add_seals(int fd, unsigned int seals)
214 r = fcntl(fd, F_ADD_SEALS, seals);
216 printf("ADD_SEALS(%d, %u -> %u) failed: %m\n", fd, s, seals);
221 static void mfd_fail_add_seals(int fd, unsigned int seals)
232 r = fcntl(fd, F_ADD_SEALS, seals);
235 fd, s, seals);
872 * A very basic sealing test to see whether setting/retrieving seals works.
884 /* add basic seals */
897 /* add more seals and seal against sealing */
1423 * Test that seals are shared between dupped FDs and they're all equal.
1464 * Modifying seals is only allowed if no other mmap() refs exist.