HomeFreeBSD

setcred: Move initial copyin of struct setcred out to per-ABI syscall

Description

setcred: Move initial copyin of struct setcred out to per-ABI syscall

This is the more typical approach used in the tree for system calls
with per-ABI structure layouts.

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

(cherry picked from commit 6292eecfd95c78abc1ab14f20ceaa507ab9c636a)

Details

Provenance
jhbAuthored on Nov 24 2025, 3:48 PM
olceCommitted on Jan 6 2026, 1:33 PM
Reviewer
olce
Differential Revision
D53756: setcred: Move initial copyin of struct setcred out to per-ABI syscall
Parents
rG33c0bd25e528: MAC: Use the current thread's user ABI to determine the layout of struct mac
Branches
Unknown
Tags
Unknown