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, Dec 1, 6:07 AM
Unknown Object (File)
Sun, Nov 30, 11:23 AM
Unknown Object (File)
Wed, Nov 26, 10:39 PM
Unknown Object (File)
Wed, Nov 26, 11:11 AM
Unknown Object (File)
Sat, Nov 22, 2:21 AM
Unknown Object (File)
Thu, Nov 20, 8:10 AM
Unknown Object (File)
Thu, Nov 20, 8:05 AM
Unknown Object (File)
Thu, Nov 20, 8:05 AM
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.