CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/01/19 13:17:12
Modified files:
sys/arch/amd64/amd64: pmap.c
sys/arch/amd64/include: pmap.h
Log message:
Revise implementation of pmap_protect(9) in preparation for execute-only
support. The current implementation doesn't handle the transition from
RWX to RW correctly. Also generalize the pmap_write_protect() function
in recognition of the fact that execute permission, write permission,
and in the future read permission on executable pages, are handled by
separate bits.
ok deraadt@, mpi@