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

[Minios-devel] [UNIKRAFT PATCH v2 0/3] lib/uktime: Import timegm from musl


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 11 Sep 2019 15:00:02 +0000
  • Accept-language: en-US
  • 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=Vbc0cxZE9D3KlORc6aFY1vVTYGJhqqRRiqx2zp4E+dU=; b=AidWUmU7hr5nrOz56BenecqO+ogGq4ZwS6Kx+lBNPgwi0FC/iCiVDEp08wxEtBzlGwg+QBeSEjVOtbbPoRx5IW4BiRO/AhpFfsIA0LH712DNdTE2tvZneY3w1zfx/tQmAdaD//6oX4at/3UgrPoypHCSxNFPxmOA1Cz9iKFe+T8q0rYBzMmWmObUbWzMbu0BA4KJAvDcMU0aiMq5vzLfF5PcO20EgIXmIiGuH7LcygysuJrHeusZKkI3HGO3qNccsqYBcmXPxee5iJ8Gy7YURFrIVoNAJIOQNOZP75XI4sOqt96EZEL5C6ei6gG3L1xH5+N0YEN/NOsDQvNgtJ9ycQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l3jpnOpvZCqZ/6apUP6UA8OsUbSP+B1UjqnBedP4em4RUFJRFzFWhHxNhJIyrANMXSK/EieHunfOgOTLa23pxW0Iyf0U9fspDPNVdITdRz54IV8aju16dZEA6shFEyGgECaPX/23I3ayzFIO6quotkZs6FD43iSXFLikmgeNTXwMU7McOkr3tkP9r0dJN6Ec7b5Hq2IQwXrMinz+cGN2ruTnRBWq084RGVTBy0W5pbzNujc8u+6ANo65b3i/Jg7TfFxsl0vugWW8aoCGVbgjLGu9dUIdcEbLfNOVpvrego3+05W3fxZ1xkxysdw8dMSZrgqaM3/AnxLuOM7qDd8Ffg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>
  • Delivery-date: Wed, 11 Sep 2019 15:00:09 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVaLGWkPIBQfzuSUaerT+6deBauA==
  • Thread-topic: [UNIKRAFT PATCH v2 0/3] lib/uktime: Import timegm from musl

We import the timegm function from musl to the newly created 
library, uktime. We move the definitions from nolibc/time.h
to uktime/time.h. This function is needed by Python 3.

Changes since v1:
*) Dropped the nolibc patch
*) Moved _time_types.h to include/uktime
*) Removed duplicate _time_types.h in musl-imported
*) Added license to _time_types.h

Vlad-Andrei Badoiu (3):
  lib/uktime: Import timegm from musl
  lib/uktime: Adapt timegm implementation to Unikraft
  lib/uktime: Fix checkpath errors for timegm

 lib/uktime/Makefile.uk                        |  13 +-
 lib/uktime/exportsyms.uk                      |   2 +-
 lib/uktime/include/uktime/_time_types.h       |  62 ++++++++
 lib/uktime/musl-imported/include/time_impl.h  |   7 +
 .../musl-imported/include/uktime/time.h       | 150 ++++++++++++++++++
 .../musl-imported/src/__month_to_secs.c       |  12 ++
 lib/uktime/musl-imported/src/__secs_to_tm.c   |  82 ++++++++++
 lib/uktime/musl-imported/src/__tm_to_secs.c   |  27 ++++
 lib/uktime/musl-imported/src/__year_to_secs.c |  55 +++++++
 lib/uktime/musl-imported/src/timegm.c         |  21 +++
 10 files changed, 428 insertions(+), 3 deletions(-)
 create mode 100644 lib/uktime/include/uktime/_time_types.h
 create mode 100644 lib/uktime/musl-imported/include/time_impl.h
 create mode 100644 lib/uktime/musl-imported/include/uktime/time.h
 create mode 100644 lib/uktime/musl-imported/src/__month_to_secs.c
 create mode 100644 lib/uktime/musl-imported/src/__secs_to_tm.c
 create mode 100644 lib/uktime/musl-imported/src/__tm_to_secs.c
 create mode 100644 lib/uktime/musl-imported/src/__year_to_secs.c
 create mode 100644 lib/uktime/musl-imported/src/timegm.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®.