xref: /xnu-12377.61.12/tests/arm_mte_alias_restriction_helper.c (revision 4d495c6e23c53686cf65f45067f79024cf5dcee8)
1 #include <unistd.h>
2 
3 int
main(int argc,char ** argv)4 main(int argc, char **argv)
5 {
6 	/*
7 	 * This is just a process signed in such a way that it should never be
8 	 * allowed to receive aliases to tagged memory from elsewhere on the system.
9 	 * The associated test will try to remap tagged memory into this process, and
10 	 *  will die in the process.
11 	 * sleep() so we eventually terminate too (and don't bother with anything
12 	 *  fancy for synchronizing.)
13 	 */
14 	sleep(5);
15 	return 0;
16 }
17