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

[Minios-devel] [UNIKRAFT/LWIP PATCH v2 0/5] Add changes needed for Redis and OpenSSL


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Fri, 16 Aug 2019 10:09:38 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx
  • Delivery-date: Fri, 16 Aug 2019 07:10:01 +0000
  • Ironport-phdr: 9a23:+7FGnRAyE8EnXis9sr2tUyQJP3N1i/DPJgcQr6AfoPdwSPT8oMbcNUDSrc9gkEXOFd2Cra4d0ayP6PqrADVcqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5sIBmssAncuNcajYR/JqosxRbCv2dFdflRyW50P1yYggzy5t23/J5t8iRQv+wu+stdWqjkfKo2UKJVAi0+P286+MPkux/DTRCS5nQHSWUZjgBIAwne4x7kWJr6rzb3ufB82CmeOs32UKw0VDG/5KplVBPklCEKPCM//WrKiMJ/kbhbrQqhqRJh3oDaboKbOv1lc6/BYd8XX3ZNU9xNWyBdBI63cosBD/AGPeZdt4TwuVwOrQCiBQmtAuPk1zlGhmLu3a0nzu8sFh3J3As7H9ISsXTUqs/5NKMPUeCt0anF1inMb+hM1Tfl9YjHaQotoeuLXb9pd8fa1EohFxvdg1mNpoHpIimZ2+cNvmSB8eZsS+Cih3Qppg1pvzSiydoghpPKi48V0FzI6yt0zYgvKdGlR0N3f9ipG4ZKuS6ALYt5WMYiTnltuCY917IJp4a2fDMPyJQ73x7fbOGHc5SQ7hLjSumRJTB4iWp7eLK6nRmy8EygxvfgWcmvylpKtjdFncLWunAX0Bzf8smHSv1j8Ue9wTuDyg/e5vxeLU03lafXMYAtzqAym5YJv0nPBir2l1/3jK+SeEUk4O+o6+H/b7r6oZ+cLJN0igD4Mqg0nsy/HPw4MhUVUmeH4uSwzqXj/VDiT7lQlP02lbHVsIrGKsQDuq65HwhV354m6xa+CTem0dMYnWIeIF1YZh2HkZbmO1XVLfD8DPe/mEiskCxxy/HJILLhBI/BLn/ZkLfuZbx98VJTyBIvzdBD4JJZEr8BL+z3Wk/wrNzXEAU1Mwypw+bmFNp915gTWWSRDaCFNKPdq0SH6vgxLOmRfIUVoiryK+A55/7yin80gUQdfais3ZsQbnC0BPdmI1iHbnrqg9YOD30KsxE4TOP0lFKCVSRcaG2oU60i+zFoQL6hWILCQIGqm/mN0Tm2GrVSZ3taERacHHGucJ+LCNkWbyfHCch6jj0CHZy8U5JpgRqprxP7zfxjM/LJ0iYD84r+3p5v4LuAxlkJ6TVoApHFgCm2RGZukzZQSg==
  • Ironport-sdr: MB9Oq9XZCvs8mhND8tolemr3S3SzKQ2K1QTqvs6KREnoYVkBAf6slr7U8XtEbH7Nq/s8EOGJqc i5bOZWaUdwcg==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

The first two patches introduce the missing functions needed by Redis. The next
two import getnameinfo() from OsV, this function being used by OpenSSL and
depending on the first two patches.

The last patch disables mem_* functions declarations in lwip for libraries
other than lwip because they are also declared by OpenSSL with different
prototypes. This patch depends on '[UNIKRAFT PATCH] build: Define
preprocessing symbol for library name' which introduces library names as
preprocessing symbols.

Changes since v1:
- Revisit the last 3 patches of v1
- Add 2 more patches which fix some compiler warnings

Costin Lupu (5):
  Import getnameinfo() function from OsV
  Adapt getnameinfo() function to Unikraft
  patches: Declare mem_* functions only for lwip internal use
  lwipopts.h: Use libc ioctl.h if available
  netdb.h: Add getservbyname() and getservbyport() declarations

 Makefile.uk                                   |   3 +
 exportsyms.uk                                 |   1 +
 getnameinfo.c                                 | 147 ++++++++++++++++++
 include/lwipopts.h                            |   4 +
 include/netdb.h                               |  26 ++++
 inet.c                                        |   2 +
 ...functions-only-for-lwip-internal-use.patch |  31 ++++
 7 files changed, 214 insertions(+)
 create mode 100644 getnameinfo.c
 create mode 100644 
patches/0003-Declare-mem_-functions-only-for-lwip-internal-use.patch

-- 
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®.