-
-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Description
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
Labels
No labels