Skip to content

Be more selective on symbols exported from the kernel #97

@nyh

Description

@nyh

Right now, we export all symbols from the kernel, and they can all be used by shared objects.

This has a number of negative implications.

First is of course that applications can accidentally use kernel objects which we never intended to expose.

The second is that all these symbols (and C++ symbols have L-O-N-G names...) appear in the .dynstr and .dynsym sections of the kernel (loader-stripped.elf), which amounts to almost 1MB.

We should consider only exporting some of the symbols, not all of them.

Metadata

Metadata

Assignees

No one assigned

    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