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)
Fri, Nov 15, 6:25 AM
Unknown Object (File)
Oct 28 2024, 8:10 PM
Unknown Object (File)
Oct 21 2024, 11:47 PM
Unknown Object (File)
Oct 19 2024, 4:09 AM
Unknown Object (File)
Oct 18 2024, 11:13 PM
Unknown Object (File)
Oct 18 2024, 9:59 AM
Unknown Object (File)
Oct 5 2024, 12:39 PM
Unknown Object (File)
Oct 2 2024, 1:14 AM
Subscribers

Details

Summary

This pattern is more common and easier to understand.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14879
Build 14991: arc lint + arc unit

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
2403

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.