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

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


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Tue, 31 Mar 2020 15:03:17 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GIFIKLTfhwjVUu5LMwFepFtVvqS3j2rvxWpaDQ2yHcM=; b=L4Nt9P7k0iOBziCcNNBP5lMturl3dAnFvfltUWg3zjxwD/JFaZMK2BOBNTEPyGks3OeY7K0UPt4O6d8b6phMrhoKeXNDlG/QIrAqbRwORLM7fkMTrXuuVVTyipObyxE+CVOReuaN2u9GClsaiD6tzpQMQwnG1XfToP7f/oZp65svNAjxixtVuVgbT5K6aTXiHptUnY7abul/nJuBA94d7tGjWaHt+85E0KZ/Zcr9aCJPzWb3kh/wn8paNssq3gm5FdfZ4hHhibxYBatC0FdLndOwI3NwXYL6sKsvDPkeur9gA0blVIciFXt0gH4rqgwxXrlbAwfFrPfAL+FG+ZdosA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kQsCDBCcQG/WwM0SwOKssx0tidr8Rs2sNt17GJ8FfaP+cjOzHBFZUBSk07NlGSHSoKjAYerMbY0+zM5R5GNqCWjjJLKR5EQ6P4BrT3qgQqGq7W4bVDU8KN/Pp64JxM0OnfhApezbfsiqLeo5KFaMB0c6O8FseoJOuQvss1B7cRbUPG+8iNv/j5pXX0POvkViTK8TkCizQKLpSUQzqISTdyPZMlLuZw/xAO+c3XXmqq3lMHglBIql2cU1f+/rGqS+SZHmjIg9nVCso5TJ9iilZ5aFsIZ96PFY81KvQgJYemYLqcANlPniGB0xRts8zIw6JLdfUZ535+V6y/ex5TnarQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: felipe.huici@xxxxxxxxx, Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 31 Mar 2020 12:03:40 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

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.

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