HomeFreeBSD

MAC: syscalls: Factor out common label copy-in code

Description

MAC: syscalls: Factor out common label copy-in code

Besides simplifying existing code, this will later enable the new
setcred() system call to copy MAC labels.

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

Details

Provenance
olceAuthored on Jul 26 2024, 2:40 PM
Differential Revision
D46904: MAC: syscalls: Factor out common label copy-in code
Parents
rGdb33c6f3ae9d: MAC: mac_policy.h: Declare common MAC sysctl and jail parameters' nodes
Branches
Unknown
Tags
Unknown