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
F151554205: D40540.diff
Thu, Apr 9, 4:08 AM
F151417674: D40540.id123290.diff
Wed, Apr 8, 7:20 AM
Unknown Object (File)
Tue, Apr 7, 8:55 AM
Unknown Object (File)
Tue, Apr 7, 8:53 AM
Unknown Object (File)
Tue, Apr 7, 8:01 AM
Unknown Object (File)
Tue, Apr 7, 12:24 AM
Unknown Object (File)
Fri, Apr 3, 12:37 AM
Unknown Object (File)
Wed, Mar 25, 3:16 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.