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