Mini-OS: hide mini-os internal symbols
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest32 patches 28 repliesIn review
- v2 posting 2/22 patches 0 repliesSuperseded
- v2 posting 1/22 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 3 replies | Superseded |
Changes in v3 from the cover letter
- Instead of a global file with symbol names use EXPORT_SYMBOL() instances for each symbol. Former patch 2 is replaced with new patches 2-32.
Patches in v3 No applies recorded yet
Reviews trailers per patch
28 of 32 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/32] Mini-OS: hide mini-os internal symbols
In order to avoid conflicts due to symbols with the same name when linking Mini-OS with an application, hide all Mini9-OS internal symbols from the application by linking the Mini-OS kernel individually and then removing all symbols which should be used internally only.
Changes in V2:
- added more symbols in patch 2
Changes in V3:
- Instead of a global file with symbol names use EXPORT_SYMBOL() instances for each symbol. Former patch 2 is replaced with new patches 2-32.
Juergen Gross (32):
Mini-OS: link kernel separately
Mini-OS: explicitly mark symbols to be visible for apps
Mini-OS: add EXPORT_SYMBOL() instances to kernel.c
Mini-OS: add EXPORT_SYMBOL() instances to hypervisor.c
Mini-OS: add EXPORT_SYMBOL() instances to sched.c
Mini-OS: add EXPORT_SYMBOL() instances to mm.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/sys.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/string.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/math.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/printf.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/ctype.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/xmalloc.c
Mini-OS: add EXPORT_SYMBOL() instances to lib/xs.c
Mini-OS: add EXPORT_SYMBOL() instances to main.c
Mini-OS: add EXPORT_SYMBOL() instances to console.c
Mini-OS: add EXPORT_SYMBOL() instances to events.c
Mini-OS: add EXPORT_SYMBOL() instances to gntmap.c
Mini-OS: add EXPORT_SYMBOL() instances to gnttab.c
Mini-OS: add EXPORT_SYMBOL() instances to ioremap.c
Mini-OS: add EXPORT_SYMBOL() instances to lock.c
Mini-OS: add EXPORT_SYMBOL() instances to time.c
Mini-OS: add EXPORT_SYMBOL() instances to lwip-*.c
Mini-OS: add EXPORT_SYMBOL() instances to 9pfront.c
Mini-OS: add EXPORT_SYMBOL() instances to blkfront.c
Mini-OS: add EXPORT_SYMBOL() instances to fbfront.c
Mini-OS: add EXPORT_SYMBOL() instances to netfront.c
Mini-OS: add EXPORT_SYMBOL() instances to pcifront.c
Mini-OS: add EXPORT_SYMBOL() instances to tpmback.c
Mini-OS: add EXPORT_SYMBOL() instances to tpmfront.c
Mini-OS: add EXPORT_SYMBOL() instances to tpm_tis.c
Mini-OS: add EXPORT_SYMBOL() instances to xenbus.c
Mini-OS: hide all symbols not exported via EXPORT_SYMBOLS()
.gitignore | 1 + 9pfront.c | 2 + Makefile | 11 ++++-- arch/arm/mm.c | 2 + arch/arm/time.c | 1 + arch/x86/ioremap.c | 5 ++- arch/x86/mm.c | 5 +++ arch/x86/sched.c | 5 +++ arch/x86/time.c | 2 +- blkfront.c | 12 ++++-- console.c | 5 +++ events.c | 7 ++++ fbfront.c | 11 +++++- gntmap.c | 5 +++ gnttab.c | 6 +++ hypervisor.c | 5 +++ include/export.h | 10 +++++ include/lib.h | 1 + kernel.c | 5 +++ lib/ctype.c | 2 + lib/math.c | 6 +++ lib/printf.c | 10 ++++- lib/string.c | 18 +++++++++ lib/sys.c | 92 +++++++++++++++++++++++++++++++++++++++++++--- lib/xmalloc.c | 3 ++ lib/xs.c | 10 +++++ lock.c | 9 ++++- lwip-arch.c | 9 +++++ lwip-net.c | 2 +- main.c | 3 ++ mm.c | 4 ++ netfront.c | 7 ++++ pcifront.c | 11 +++++- sched.c | 7 ++++ tpm_tis.c | 5 +++ tpmback.c | 11 ++++++ tpmfront.c | 6 +++ xenbus.c | 23 ++++++++++++ 38 files changed, 320 insertions(+), 19 deletions(-) create mode 100644 include/export.h
Signature · 1 line
2.35.3