HomeFreeBSD

kern linker: do not allow more than one kldload and kldunload syscalls…

Description

kern linker: do not allow more than one kldload and kldunload syscalls simultaneously

kld_sx is dropped e.g. for executing sysinits, which allows user
to initiate kldunload while module is not yet fully initialized.

Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D30456
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on May 20 2021, 2:50 PM
Reviewer
markj
Differential Revision
D30456: kern linker: do not allow more than one kldload and kldunload syscalls simultaneously
Parents
rG7c4342890bf1: pf: Convenience function for optional (numeric) arguments
Branches
Unknown
Tags
Unknown