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

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



Hi Costin,

Great, this is something we should have done a while ago, thanks for the 
cleanup!

-- Felipe

On 05.08.19, 17:18, "Costin Lupu" <costin.lupu@xxxxxxxxx> wrote:

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