Page MenuHomeFreeBSD

dtrace/arm64: Fix PAN handling in some dtrace operations
ClosedPublic

Authored by markj on Jun 14 2023, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 1:30 AM
Unknown Object (File)
Tue, Jan 7, 7:20 AM
Unknown Object (File)
Dec 3 2024, 4:26 AM
Unknown Object (File)
Nov 28 2024, 4:50 AM
Unknown Object (File)
Nov 25 2024, 6:21 AM
Unknown Object (File)
Nov 24 2024, 3:10 PM
Unknown Object (File)
Nov 22 2024, 12:00 PM
Unknown Object (File)
Nov 14 2024, 12:33 PM
Subscribers

Details

Summary

Without this, various dtrace actions such as ustack() simply fail.

Sponsored by: InnovateUK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Jun 14 2023, 2:47 PM

Could uou use the ldtr* instructions here? They perform a load as if it was the user so there would be no need to disable PAN.

Use ldtr* instead of disabling PAN.

This revision is now accepted and ready to land.Jun 14 2023, 3:08 PM
This revision was automatically updated to reflect the committed changes.