Skip to content

Commit

Permalink
Add doc for potential link error due to PAC func
Browse files Browse the repository at this point in the history
  • Loading branch information
Inokinoki authored Aug 23, 2021
1 parent e7fa9c9 commit 543ad4d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Build/XNU-7195.81.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ For instance, in `osfmk/arm64/exception_asm.h`:
#include "assym.s"
```

## Remove PAC extension reference

Remove `ml_enable_monitor` in `osfmk/arm64/arm_vm_init.c`, replace `pmap_cs_allow_invalid(vm_map_pmap(map))` in `osfmk/arm64/vm_map.c` with 0.

Both of them disable the unintentional calling to PAC-related functions.

## Build command

Only run this on a Mac:
Expand Down

0 comments on commit 543ad4d

Please sign in to comment.