Skip to content

Kernel: Multiverse not usable in loadable kernel modules #3

Description

@florommel

Multiverse holds a list of all multiversed functions at runtime. The list is populated during startup by the generated __multiverse_init constructor functions. The function multiverse_init gathers the additional runtime information (called manually once at startup).

This approach is problematic when using multiverse in loadable kernel modules as they can be loaded at any time (after multiverse_init) and unloaded (leaving an invalid entry in the mv_information list, corrupting it).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions