It takes exactly three arguments of known type.
Tweak the types of various resultproc_t functions to match the type (mostly
added const to struct pointers) allowing us to drop casts.
Effort: CHERI upstreaming
Sponsored by: DARPA, AFRL
Differential D54941
rpc: correct resultproc_t's type Authored by brooks on Jan 29 2026, 12:19 PM. Tags None Referenced Files
Details It takes exactly three arguments of known type. Tweak the types of various resultproc_t functions to match the type (mostly Effort: CHERI upstreaming
Diff Detail
Event TimelineComment Actions @brooks : not sure if my tree is out of date, but I found a few more references of potential concern: % rg -l '\(resultproc_t\)' worktree/main/ | sort | sed -e 's,worktree/main/,,g' ... usr.bin/rup/rup.c usr.bin/rusers/rusers.c usr.sbin/bootparamd/callbootd/callbootd.c usr.sbin/ypbind/ypbind.c Do those need to be changed? Comment Actions ... Apart from that--the change looks good to go! Not spotting any obvious landmines in our $work fork either that would be hit by this change. CC: @vangyzen |