CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2023/01/17 12:29:09

Modified files:
        sys/arch/amd64/include: pmap.h 

Log message:
Simplify and clarify the implementation of the pmap_page_protect(9) API.
This function is only ever called with PROT_NONE or PROT_READ where
PROT_NONE removes the mapping from the page tables and PROT_READ takes
away write permission.  Add a KASSERT to make sure no other values are
passed.  This KASSERT should be optimized away by any decent compiler.

ok deraadt@, mpi@, guenther@

Reply via email to