-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00.禁用macOS的部分安全措施.txt
50 lines (22 loc) · 1.09 KB
/
00.禁用macOS的部分安全措施.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
禁用macOS的一些安全措施
1.
Disable System Integrity Protection.
csrutil disable
2.
Disable SSV.
csrutil authenticated-root disable
3.禁用库验证
Launch Terminal and enter two following commands:
sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true
⁃ This command allows Finder (and all applications) to load arbitrary library.
⁃ By default, Finder can load libraries signed by Apple only.
4.开启arm64e的第三方库
sudo nvram boot-args=-arm64e_preview_abi
⁃ Required for Apple silicon Mac.
⁃ Restart after executing this command.
⁃ This command allow system to load third-party Arm64e libraries.
⁃ Apple’s documentation Test your driver extensions on arm64e
注意:开启arm64e的第三方库只适用于arm64的机器!
关闭交换内存和开启arm64e的第三方库
sudo nvram boot-args=-arm64e_preview_abi\ vm_compressor=2
sudo nvram boot-args="-arm64e_preview_abi vm_compressor=2 amfi_get_out_of_my_way=1 amfi_allow_any_signature=1"