No, the binfmt module auto-loading is completely broken. As you've
just discovered, the binfmt-xxxx string manages to pull out bits of
the file that are not magic numbers.
Quite some time ago I posted something here describing the problem and
outlining a possible solution, asking for comments. No one responded,
telling me that very few people care. It is now probably dead last on
the queue of things to do.
At this point, if you feel like doing some coding, I would suggest reusing
the binfmt_misc binary recognition code to load the module properly by
name.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu