- policy
- the policy to put into place
Sets the policy for what actions on the current thread should be detected, as well as the penalty if such actions occur.
Internally this sets a thread-local variable which is propagated across cross-process IPC calls, meaning you can catch violations when a system service or another process accesses the disk or network on your behalf.