Enhance IS_LOADABLE_DYN
and LOAD_DYN
to also check that the garbage collector matches
#5869
Labels
kind: enhancement
Label for issues suggesting enhancements; and for pull requests implementing enhancements
topic: kernel
Thanks to a clever idea by @ChrisJefferson kernel extensions these days are checked for using an ABI version compatible with the active GAP kernel. This is done by a little hack using the
type
field ofStructInitInfo
to encode the version:Perhaps we can use a few more bits of that to also store which GC was used to compile the kext (say 0=GASMAN, 1=Julia, 2=Boehm). Then we would be able to avoid loading kexts into a kernel which has the right version but different GC implementation.
The text was updated successfully, but these errors were encountered: