xref: /xnu-8796.141.3/bsd/dev/dtrace/scripts/vm_map_delete_permanent_deny.d (revision 1b191cb58250d0705d8a51287127505aa4bc0789)
1*1b191cb5SApple OSS Distributions #!/usr/sbin/dtrace -s
2*1b191cb5SApple OSS Distributions 
3*1b191cb5SApple OSS Distributions vminfo:::vm_map_delete_permanent_deny*
4*1b191cb5SApple OSS Distributions {
5*1b191cb5SApple OSS Distributions 	printf("%d[%s]: denying mutation of permanent mapping [ 0x%llx - 0x%llx ] prot 0x%x/0x%x",
6*1b191cb5SApple OSS Distributions 	       pid,
7*1b191cb5SApple OSS Distributions 	       execname,
8*1b191cb5SApple OSS Distributions 	       (uint64_t) arg1,
9*1b191cb5SApple OSS Distributions 	       (uint64_t) arg2,
10*1b191cb5SApple OSS Distributions 	       arg3,
11*1b191cb5SApple OSS Distributions 	       arg4);
12*1b191cb5SApple OSS Distributions 	stack();
13*1b191cb5SApple OSS Distributions 	ustack();
14*1b191cb5SApple OSS Distributions }
15