[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/4] Introduce POSIX libdl library


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 14 Aug 2019 17:56:28 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Wed, 14 Aug 2019 14:56:53 +0000
  • Ironport-phdr: 9a23:SGKFlhYVeGeFDPISpXI110z/LSx+4OfEezUN459isYplN5qZrsi4bnLW6fgltlLVR4KTs6sC17OM9fm6CCdZvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMhm6txjdutcSjIdtN6o8yAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3oDaboKSOvdlYq/RYckXSXZbU8pNSyBMBJ63YYsVD+oGOOZVt5fwp1wVrRuiBAmsAv7kxDlVhn/uwK0xzuMsHh3B3Aw7A9IOsXLUoM/xNKcPSeC10bLFwinYb/9MwTf99ZPHfgo7ofGLRL99d9fax0o3Fw7dk1mdppHpMymW2+kNqWSX8fRsWOC1h2Mpsw19vzeiyto2hoTKho8Z0E7I+Ct3zYovONG1R1B3bNi5G5VKrS6aLZF5QsY6TmFtvyY116MJtIagfCgP1JQn3xnfa+Gbc4SQ4hLsSuKRITBgiXJ7fbKwnRey8Uy6xuLgTcm4yk5KrjdendXWrHAN0ATf6smBSvRj4keswSuD2g/O5u1eIk05lbDXJ4A/zrMyjJYev1zPHirsl0X3iK+WeF8k+u+t6+n/frrmoYScN5N1igH4KKguntG/AfwlMgUVQ2eb4v6w1KX+/ULiWrlKlPo2nrHDsJ/GPcQburK5AwhN34Ym6ha/CTam0NMDnXUeMV1KZgyHgJbtO1zVJPD4DOy/g0i3kDtxyPHJILvhDo/KLnjZn7frZax95FJEyAov0dBf4IpZCr8fL/L3W0/xrMLXAgU5MwypwuboFNR925gYWW2RHqCZNLndvkSS6u0xPumGfJUVtyrlK/g5+/7uimc0mUQdfaazx5sYcna4Eu59I0qDZ3rsntcBHn0MvgUkSeznk1uCXiBPaHa2Ra0z/Ss3B5y7DY3bXICinKSB3DunHp1Rfm1GEVGMEXLvd4WCQfsMaz+SLdFnkj0FS7ehUZQs1RewuwDmz7poNPHb9jcGupL+h5BJ4LjWlBcz8icxA8mD3mWlS2BvgnhOVzIwmqdlrh9T0FCGhIN/mOBZE5R3+utUGlMxMoXAzuo8D83qRyrKZZGRVVzgWNLwUmJ5dc4439JbOxU1IN6llB2Whyc=
  • Ironport-sdr: lQ6/fa+viEw8+OzNa48wm6aUmHzkeIMXj7AqK2hGFY+EFWDbZ6RGQsfhmY6ykS8MXnYtyh6M8U geVfYIDMor8Q==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

This series introduces the Unikraft libdl implementation. libdl is used for
explicitly loading dynamic libraries. Unikraft does not support dynamic linking
yet, currently all the libraries are statically linked. Therefore, for now, we
add only stubs.

libdl is used by a great number of libraries and will be needed for the
upcoming ports of Ruby and v8 engines and OpenSSL libraries.

The series also introduce a new naming convention for internal libraries which
provide POSIX APIs: adding the 'posix-' prefix before the library name. If
accepted, this new convention should be applied for existing internal libraries
which fit this classification, e.g. `ukunistd`.

Costin Lupu (4):
  lib/posix-libdl: Introduce POSIX libdl library skeleton
  lib/posix-libdl: Import dlfcn.h from musl
  lib/posix-libdl: Adapt dlfcn.h
  lib/posix-libdl: Add stubs

 lib/Config.uk                   |  1 +
 lib/Makefile.uk                 |  1 +
 lib/posix-libdl/Config.uk       |  3 ++
 lib/posix-libdl/Makefile.uk     |  6 +++
 lib/posix-libdl/exportsyms.uk   |  6 +++
 lib/posix-libdl/include/dlfcn.h | 66 +++++++++++++++++++++++++++++++
 lib/posix-libdl/stubs.c         | 69 +++++++++++++++++++++++++++++++++
 7 files changed, 152 insertions(+)
 create mode 100644 lib/posix-libdl/Config.uk
 create mode 100644 lib/posix-libdl/Makefile.uk
 create mode 100644 lib/posix-libdl/exportsyms.uk
 create mode 100644 lib/posix-libdl/include/dlfcn.h
 create mode 100644 lib/posix-libdl/stubs.c

-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.