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
F112014594: D40540.diff
Tue, Mar 11, 2:25 PM
F111977815: D40540.id123206.diff
Tue, Mar 11, 2:36 AM
Unknown Object (File)
Mon, Mar 3, 1:00 AM
Unknown Object (File)
Sat, Mar 1, 9:38 PM
Unknown Object (File)
Sat, Feb 22, 3:35 AM
Unknown Object (File)
Sat, Feb 22, 2:18 AM
Unknown Object (File)
Feb 3 2025, 11:59 PM
Unknown Object (File)
Feb 3 2025, 11:58 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52051
Build 48942: arc lint + arc unit

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.