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)
Fri, Oct 10, 4:12 AM
Unknown Object (File)
Sat, Oct 4, 5:57 AM
Unknown Object (File)
Mon, Sep 29, 11:09 AM
Unknown Object (File)
Mon, Sep 29, 12:13 AM
Unknown Object (File)
Sun, Sep 28, 4:52 PM
Unknown Object (File)
Sat, Sep 20, 10:41 PM
Unknown Object (File)
Aug 16 2025, 12:58 AM
Unknown Object (File)
Aug 11 2025, 9:08 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/amd64/amd64/trap.c
773

pti is not needed anymore ?

775

Excess ().

tychon marked an inline comment as done.

Incorporate feedback.

sys/amd64/amd64/trap.c
773

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.