Page MenuHomeFreeBSD

arm64: Mask out the PAC ID fields when disabled
ClosedPublic

Authored by andrew on Wed, May 28, 1:41 PM.
Tags
None
Referenced Files
F119258286: D50573.id156189.diff
Fri, Jun 6, 11:05 PM
Unknown Object (File)
Wed, Jun 4, 6:47 PM
Unknown Object (File)
Tue, Jun 3, 12:53 PM
Unknown Object (File)
Mon, Jun 2, 2:17 PM
Unknown Object (File)
Mon, Jun 2, 11:20 AM
Subscribers

Details

Summary

When we disable PAC we need to mask out the ID registers for userspace.
Call update_special_reg to mask them out so userspace gets a correct
view of the registers and hwcaps.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64546
Build 61430: arc lint + arc unit

Event Timeline

sys/arm64/arm64/ptrauth.c
107–108

{} for single statement bodies are fine but if we're going to add them for this case we should for the one above too

This revision was not accepted when it landed; it landed in state Needs Review.Mon, Jun 2, 10:42 AM
This revision was automatically updated to reflect the committed changes.