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, Mar 7, 2:14 AM
Unknown Object (File)
Mar 1 2025, 1:03 PM
Unknown Object (File)
Feb 21 2025, 3:37 AM
Unknown Object (File)
Feb 21 2025, 2:38 AM
Unknown Object (File)
Feb 18 2025, 10:16 PM
Unknown Object (File)
Jan 29 2025, 1:30 PM
Unknown Object (File)
Jan 28 2025, 2:53 PM
Unknown Object (File)
Dec 23 2024, 7:19 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/amd64/amd64/trap.c
773 ↗(On Diff #43471)

pti is not needed anymore ?

775 ↗(On Diff #43471)

Excess ().

tychon marked an inline comment as done.

Incorporate feedback.

sys/amd64/amd64/trap.c
773 ↗(On Diff #43471)

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.