- Go Systems Programming
- Mihalis Tsoukalos
- 101字
- 2021-07-02 18:08:04
Disabling System Integrity Protection on macOS
There is a big chance that you will have trouble running dtrace(1) and dtruss(1) on your Mac OS X machine the first time you try them and get the following error message:
$ sudo dtruss ./addCLAImproved 1 2 2>&1 | grep -i write dtrace: error on enabled probe ID 2132 (ID 156: syscall::write:return): invalid kernel access in action #12 at DIF offset 92
In this case you might need to disable the DTrace restrictions but still keep System Integrity Protection active for everything else. You can learn more about System Integrity Protection by visiting https://support.apple.com/en-us/HT204899.
推薦閱讀
- Bootstrap Site Blueprints Volume II
- Modular Programming with Python
- Xcode 7 Essentials(Second Edition)
- Python程序設計(第3版)
- AngularJS深度剖析與最佳實踐
- Learning Neo4j 3.x(Second Edition)
- TypeScript實戰指南
- Learning Data Mining with R
- OpenCV 4計算機視覺項目實戰(原書第2版)
- Node Cookbook(Second Edition)
- Java Web從入門到精通(第3版)
- Photoshop智能手機APP界面設計
- HTML5移動前端開發基礎與實戰(微課版)
- 大規模語言模型開發基礎與實踐
- Java RESTful Web Service實戰