HomeFreeBSD

procfs require PRIV_PROC_MEM_WRITE to write mem

Description

procfs require PRIV_PROC_MEM_WRITE to write mem

Add a priv_check for PRIV_PROC_MEM_WRITE which will be blocked
by mac_veriexec if being enforced, unless the process has a maclabel
to grant priv.

Reviewed by: stevek
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D46692

Details

Provenance
sjgAuthored on Sep 19 2024, 8:10 PM
Reviewer
stevek
Differential Revision
Restricted Differential Revision
Parents
rGae1a0648b05a: jail: unbreak the zfs.mount_snapshot option
Branches
Unknown
Tags
Unknown