HomeFreeBSD

MAC: syscalls: Split mac_set_proc() into reusable pieces

Description

MAC: syscalls: Split mac_set_proc() into reusable pieces

This is in preparation for enabling the new setcred() system call to set
a process' MAC label.

No functional change (intended).

MFC after: 2 weeks
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46905

Details

Provenance
olceAuthored on Jul 27 2024, 8:31 AM
Differential Revision
D46905: MAC: syscalls: Split mac_set_proc() into reusable pieces
Parents
rG2e593dd3b5e1: MAC: syscalls: Factor out common label copy-in code
Branches
Unknown
Tags
Unknown