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

[Minios-devel] [UNIKRAFT PATCH v2 0/2] lib/vfscore: Add scandir



Several external libraries need the scandir implementation(e.g. libuv).
We adapt an existing implementation from musl on Unikraft. Since scandir
uses qsort for ordering, we add a qsort implementation to nolib.

Changes since v1:
* Rebased on staging, patches now apply without conflicts

Vlad-Andrei BĂDOIU (2):
  lib/nolib: Add qsort
  lib/vfscore: Add scandir

 lib/nolibc/Makefile.uk      |   3 +
 lib/nolibc/exportsyms.uk    |   1 +
 lib/nolibc/include/stdlib.h |   3 +
 lib/nolibc/qsort.c          | 157 ++++++++++++++++++++++++++++++++++++
 lib/vfscore/exportsyms.uk   |   1 +
 lib/vfscore/main.c          |  48 +++++++++++
 6 files changed, 213 insertions(+)
 create mode 100644 lib/nolibc/qsort.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®.