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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH v2 0/6] Preparatory work for Click support



I'm currently working on Click support for unikraft, and this requires a
number of changes to lwIP and newlib. Most of these have to do with
providing lwIP's select() and poll() support via the standard libc headers.
I'm aware that we have someone working on a "proper" full implementation of
select and poll at the moment, which would then also solve the problem that
the lwip version only works with sockets created by lwip. So, eventually
some of those commits could be reverted or changed again when that support
comes around. However, in the meantime, this works as a decent stopgap
measure.

Additionally, there are a few drive-by fixes that eliminate a lot
of compiler warnings.

This patch series works in tandem with the patch series of the same name
for lwip.

Changes since v1:
* remove stub function for getuid(): this is instead provided by the
  unikraft-internal ukunistd library now.
* Fix preprocessor CONFIG_LWIP_SOCKET guards around poll() and select() in
  file.c

Florian Schmidt (6):
  Align POLL* values in glue code with musl.
  Glue code for getpwnam()
  Add poll() and select() support via lwIP if available
  Yet another try to fix the __rtems__ shenanigans
  Silence unused parameter warnings
  poll.h: Include lwip/sockets.h if lwIP is available

 Makefile.uk                                   |  1 +
 file.c                                        | 33 +++++++++++
 include/sys/poll.h                            | 24 +++++---
 include/sys/stat.h                            | 13 -----
 include/time.h                                | 29 ----------
 locale.c                                      | 17 +++---
 ...003-sys-stat.h-provide-st_-a-c-m-tim.patch | 55 +++++++++++++++++++
 user.c                                        | 45 +++++++++++++++
 8 files changed, 158 insertions(+), 59 deletions(-)
 create mode 100644 patches/0003-sys-stat.h-provide-st_-a-c-m-tim.patch
 create mode 100644 user.c

-- 
2.21.0


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