Page MenuHomeFreeBSD

Use syscall_helper_register() to register syscalls and do it through the module interface rather than sysinit.
ClosedPublic

Authored by brooks on Feb 7 2018, 7:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 27, 3:15 AM
Unknown Object (File)
Thu, Mar 20, 6:38 PM
Unknown Object (File)
Mar 8 2025, 3:55 AM
Unknown Object (File)
Mar 4 2025, 10:33 PM
Unknown Object (File)
Mar 2 2025, 4:11 AM
Unknown Object (File)
Feb 20 2025, 3:12 PM
Unknown Object (File)
Feb 19 2025, 2:51 PM
Unknown Object (File)
Feb 18 2025, 7:06 AM
Subscribers

Details

Summary

This pattern is more common and easier to understand.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks ok to me, although, since I know nothing about the interface,
I've taken myself off the review.

sys/nlm/nlm_prot_impl.c
2404 ↗(On Diff #39019)

I think you should actually do the nlm_uninit in MOD_UNLOAD case (modules get MOD_UNLOAD invoked if MOD_LOAD fails). It's fine to have that still fallthrough though.

  • Let MOD_UNLOAD handle the failure case.
This revision is now accepted and ready to land.Feb 9 2018, 5:55 PM
This revision was automatically updated to reflect the committed changes.