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

Re: [Minios-devel] [UNIKRAFT PATCH v3 0/3] lib/posix-sysinfo: Register `uname` to syscall_shim



Hi Simon, 

Thanks for this V3. All is fine.

Gaulthier

> On 22 Jan 2020, at 23:36, Simon Kuenzer <simon.kuenzer@xxxxxxxxx> wrote:
> 
> Registers the `uname` system call to syscall_shim. In order to be
> compatible for the case when glibc is running on top of Unikraft
> as an unmodified Linux ELF application, we return a newer kernel
> version number than we actual have as Unikraft version number.
> This is done in order to let glibc continue its initialization.
> 
> Changes v2:
>  - Rename uksysinfo to libposix_sysinfo
>  - Correct dependency to nolibc in Config.uk
> 
> Changes v3:
>  - Inline library title to 'POSIX libname[...]' format:
>    "POSIX sysinfo: [...]"
> 
> Simon Kuenzer (3):
>  lib/posix-sysinfo: Rename internal name from uksysinfo
>  lib/posix-sysinfo: Register `uname` to syscall_shim
>  lib/posix-sysinfo: glibc version workaround for `uname` (prepend 5-)
> 
> lib/Makefile.uk                                    |  2 +-
> lib/posix-sysinfo/Config.uk                        |  4 ++++
> lib/posix-sysinfo/Makefile.uk                      |  8 ++++++++
> lib/{uksysinfo => posix-sysinfo}/exportsyms.uk     |  2 ++
> .../include/sys/sysinfo.h                          |  0
> .../include/sys/utsname.h                          |  0
> lib/{uksysinfo => posix-sysinfo}/sysinfo.c         | 14 ++++++++------
> lib/uksysinfo/Config.uk                            |  3 ---
> lib/uksysinfo/Makefile.uk                          |  6 ------
> 9 files changed, 23 insertions(+), 16 deletions(-)
> create mode 100644 lib/posix-sysinfo/Config.uk
> create mode 100644 lib/posix-sysinfo/Makefile.uk
> rename lib/{uksysinfo => posix-sysinfo}/exportsyms.uk (69%)
> rename lib/{uksysinfo => posix-sysinfo}/include/sys/sysinfo.h (100%)
> rename lib/{uksysinfo => posix-sysinfo}/include/sys/utsname.h (100%)
> rename lib/{uksysinfo => posix-sysinfo}/sysinfo.c (92%)
> delete mode 100644 lib/uksysinfo/Config.uk
> delete mode 100644 lib/uksysinfo/Makefile.uk
> 
> -- 
> 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®.