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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 0/8] Add changes needed for OpenSSL


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Mon, 5 Aug 2019 18:17:42 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Mon, 05 Aug 2019 15:18:06 +0000
  • Ironport-phdr: 9a23:1avmqR/2XbwRkf9uRHKM819IXTAuvvDOBiVQ1KB21+gcTK2v8tzYMVDF4r011RmVBN+dsqobwLqN+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhWiDanfL9+MBe7oQrSu8QYnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahMxugqxGrhyvpBtxzpXIbI2JLvdyYrnQcc8GSWdHQ81fVzZBAoS5b4YXEecBOv1Yr5X8p1sIsBCwAxSsBPvyyjRVgXL5wao60/89EQHH2gwsBdYOsGnMrNXoL6odTfu1wLPQzTXedPxawy396I/Rfx0nvPqCXqpwfNLMxUQgCg/JlFadpIz/Mz+LyOgAsXKX4uR4We6yhGMrtht9rzuvy8s2lIXEiIwYxkrZ+Sh23oo4I8CzRlRhbt6+CpRQsjmXN45xQsw/XW5loD06yrgauZ6jeygK1Ygnywbfa/OZd4iI5QruVPiUIThihXJlfKiziAqp8US60u38S9K73ExQripCitXMt3YN2ALP6sWfV/dw8Vqt1SyM2g3T8O1IP144mKjBJ5Mv2rIwk4AcsUXHHi/4gkX2i6qWe1049eiv8OTnfrTmppmGO49wlwH+Krkul9ejDuQjKAQOR3Wb9v+m2L35+k31WK9KgeEukqnFrJDaItwWpqu4Aw9T04Yj7A2/Ay6739sGg3kIMlZFdQmDj4joIFHOPOv4Ae2wgluyljdn3ffGPqfuAp/VNHjMjK/hfaph605b0Aczw85Q55ZVCrEZPv3/QE/xtMHZDhAlMgy52ODnB8th2YMaQ22AGbWVP73PsVWQ/OIgP/GMZJMJuDb6M/Ul/P7ugmUjmVAHe6mlx4AXZ2q+HvR6I0WWe3zsjc0EEWoRuAoxUvDliFmYXjFIfXq9Qb887CkhCI26FYfDWpytgLuZ0SegH51WY2dGClaWHXfraoWLRfEMaSOMLc97iTEEU6auRJMl1R60rwD20aRoLveHshEf4Jfi0tly/KjfmA8/8RRwDt+ByCedQmcymXkHFBEs26Uqiktm1laFmYxlm+EQQddU/O9IVEE+KIbB5+dhTcjvUETbeYHaGx6dXty6DGRpHZoKyNgUbhMlFg==
  • Ironport-sdr: D4pZUgcaakqI1jG6OT5a//LHK2qAGstTiQMBIOsSNt+jKGFzLx8aXuRMUGsY0LXNnUyfaBv+yt yIJ1IIb1sKow==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

OpenSSL needs the tcgetattr() and tcsetattr() functions which we decided to
import from musl. Their implementations use constants and definitions that are
found in the ioctl.h and termios.h headers, which we also had to import from
musl. Given the large number of files we imported from musl so far, we decided
to propose a new directory structure for those: all the files imported from
musl should go to the musl-imported subdirectory and keep the original
directory structure there.

Costin Lupu (8):
  Makefile.uk: Remove useless include directives
  Import ioctl.h headers from musl
  Adapt and use musl ioctl.h headers
  Move include/sys/termios.h to musl-imported subdirectory
  Import termios.h from musl
  Adapt termios.h headers to newlib glue code
  Import tcgetattr() and tcsetattr() functions from musl
  Adapt tcgetattr.c and tcsetattr.c functions to newlib glue code

 Makefile.uk                                   |  16 +-
 include/sys/ioctl.h                           |   8 +-
 musl-imported/arch/generic/bits/ioctl.h       | 136 ++++++++++++++++
 .../arch/generic/bits}/termios.h              |   5 -
 musl-imported/include/sys/ioctl.h             | 148 ++++++++++++++++++
 musl-imported/include/termios.h               |  66 ++++++++
 musl-imported/src/termios/tcgetattr.c         |  33 ++++
 musl-imported/src/termios/tcsetattr.c         |  36 +++++
 8 files changed, 429 insertions(+), 19 deletions(-)
 create mode 100644 musl-imported/arch/generic/bits/ioctl.h
 rename {include/sys => musl-imported/arch/generic/bits}/termios.h (97%)
 create mode 100644 musl-imported/include/sys/ioctl.h
 create mode 100644 musl-imported/include/termios.h
 create mode 100644 musl-imported/src/termios/tcgetattr.c
 create mode 100644 musl-imported/src/termios/tcsetattr.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®.