Page MenuHomeFreeBSD

Fix assert check for SV_DSO_SIG in exec_sysvec_init_secondary
ClosedPublic

Authored by jhibbits on Dec 9 2021, 3:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 2:10 AM
Unknown Object (File)
Mon, Oct 13, 9:34 PM
Unknown Object (File)
Thu, Sep 25, 9:34 PM
Unknown Object (File)
Fri, Sep 19, 2:44 AM
Unknown Object (File)
Thu, Sep 18, 7:08 AM
Unknown Object (File)
Sep 16 2025, 2:52 PM
Unknown Object (File)
Aug 26 2025, 8:20 AM
Unknown Object (File)
Aug 26 2025, 7:13 AM
Subscribers

Details

Summary

The only requirement for SV_DSO_SIG here is that the flags match between the source and target sysentvec.

The current assertion is too strict, and fails on powerpc64, causing a kernel panic. powerpc64 is the only other architecture to call exec_sysvec_init_secondary().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable