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)
Mon, Nov 10, 2:16 AM
Unknown Object (File)
Sat, Nov 1, 4:37 PM
Unknown Object (File)
Wed, Oct 29, 3:31 AM
Unknown Object (File)
Oct 15 2025, 2:10 AM
Unknown Object (File)
Oct 13 2025, 9:34 PM
Unknown Object (File)
Sep 25 2025, 9:34 PM
Unknown Object (File)
Sep 19 2025, 2:44 AM
Unknown Object (File)
Sep 18 2025, 7:08 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