HomeFreeBSD

freebsd32_setcred: Copy all of the setcred fields individually

Description

freebsd32_setcred: Copy all of the setcred fields individually

This is the more typical style used in compat syscalls. Modern
compilers are smart enough to coalesce multiple member assignments
into a bulk copy.

Reviewed by: olce, brooks
Obtained from: CheriBSD
Sponsored by: AFRL, DARPA
Differential Revision: https://reviews.freebsd.org/D53757

Details

Provenance
jhbAuthored on Nov 24 2025, 3:49 PM
Reviewer
olce
Differential Revision
D53757: freebsd32_setcred: Copy all of the setcred fields individually
Parents
rG6292eecfd95c: setcred: Move initial copyin of struct setcred out to per-ABI syscall
Branches
Unknown
Tags
Unknown