HomeFreeBSD

proc_rwmem check PRIV_PROC_MEM_WRITE when writing

Description

proc_rwmem check PRIV_PROC_MEM_WRITE when writing

This will fail when mac_veriexec is enforced.

Move the check from procfs_doprocmem to proc_rwmem to ensure all
cases are covered.

Reviewed by: olce, markj
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D47484

Details

Provenance
sjgAuthored on Nov 9 2024, 12:11 AM
Reviewer
olce
Differential Revision
D47484: proc_rwmem check PRIV_PROC_MEM_WRITE when writing
Parents
rGfd67ff5c7a6c: Use the correct idle routine on recent AMD EPYC servers
Branches
Unknown
Tags
Unknown