Page MenuHomeFreeBSD

Don’t bother looking for non-executable pages when a process is excluded from PTI.
ClosedPublic

Authored by tychon on Jun 8 2018, 7:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 14, 8:03 AM
Unknown Object (File)
Mon, Apr 14, 5:17 AM
Unknown Object (File)
Sun, Apr 13, 10:30 PM
Unknown Object (File)
Sun, Apr 13, 9:15 PM
Unknown Object (File)
Sun, Apr 13, 8:53 PM
Unknown Object (File)
Sat, Apr 12, 4:38 AM
Unknown Object (File)
Mar 7 2025, 2:14 AM
Unknown Object (File)
Mar 1 2025, 1:03 PM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/amd64/amd64/trap.c
773–774

pti is not needed anymore ?

776

Excess ().

tychon marked an inline comment as done.

Incorporate feedback.

sys/amd64/amd64/trap.c
773–774

You're right. I can replace pti with PCPU_GET(curpmap)->pm_ucr3 != PMAP_NO_CR3.

This revision is now accepted and ready to land.Jun 8 2018, 8:33 PM
This revision was automatically updated to reflect the committed changes.