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)
Feb 14 2024, 4:39 AM
Unknown Object (File)
Dec 21 2023, 4:37 AM
Unknown Object (File)
Dec 20 2023, 1:46 AM
Unknown Object (File)
Oct 27 2023, 1:18 AM
Unknown Object (File)
Sep 25 2023, 6:18 PM
Unknown Object (File)
Aug 27 2023, 6:16 PM
Unknown Object (File)
Jul 3 2023, 10:35 AM
Unknown Object (File)
Jul 3 2023, 10:32 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