Page MenuHomeFreeBSD

kcfi: add _NOCFI in kernel
Needs ReviewPublic

Authored by aokblast on Feb 28 2025, 4:36 PM.
Tags
None
Referenced Files
F169751747: D49170.id178471.diff
Wed, Sep 2, 11:17 AM
Unknown Object (File)
Mon, Aug 31, 11:03 AM
Unknown Object (File)
Sat, Aug 29, 10:17 AM
Unknown Object (File)
Thu, Aug 27, 10:38 AM
Unknown Object (File)
Tue, Aug 25, 10:26 AM
Unknown Object (File)
Sun, Aug 23, 10:32 AM
Unknown Object (File)
Thu, Aug 20, 10:08 PM
Unknown Object (File)
Sat, Aug 15, 3:07 PM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

init_main.c mi_startup:
sys/vnet/vnet.c vnet_register_sysinit: call sip->func which is the sysinit function and the
callee should have the detailed type
kern_fork.c fork_exit: parameter callout should be fork_return only. Don't know
why it does not pass the check
subr_epoch.c epoch_call_task: all task callback have detailed type
kern_intr.c ithread_execute_handlers intr_event_handle taskrunner have the detailed type
subr_pctrie.c pctrie_reclaim_prune pctrie_reclaim_resume_compound
pctrie_reclaim_begin_compound:
radix.c rn_walktree: callback have detailed type and will
encapsulate more a higher layer
subr_syscall.c syscallenter: the syscall handler pack all arg into a
void ptr but the callee have the detailed type

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 73381
Build 70264: arc lint + arc unit