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)
Wed, Aug 12, 4:11 PM
Unknown Object (File)
Wed, Aug 12, 4:07 PM
Unknown Object (File)
Tue, Aug 4, 7:25 AM
Unknown Object (File)
Sun, Jul 26, 2:51 PM
Unknown Object (File)
Sat, Jul 25, 4:16 AM
Unknown Object (File)
Sat, Jul 25, 3:50 AM
Unknown Object (File)
Fri, Jul 24, 3:57 PM
Unknown Object (File)
Wed, Jul 22, 12:53 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 52050
Build 48941: 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.