]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Set `LIBSYSCALL_SHIM_NOWRAPPER` for musl
authorDragos Iulian Argint <dragosargint21@gmail.com>
Sat, 7 May 2022 08:45:29 +0000 (11:45 +0300)
committerUnikraft <monkey@unikraft.io>
Wed, 23 Nov 2022 10:17:05 +0000 (10:17 +0000)
We need to set the LIBSYSCALL_SHIM_NOWRAPPER field in the configuration
file to prevent syscall shim layer from creating system call wrappers.
These wrappers are already defined in musl.

Signed-off-by: Dragos Iulian Argint <dragosargint21@gmail.com>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Simon Kuenzer <simon@unikraft.io>
Approved-by: Simon Kuenzer <simon@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #5

Config.uk

index 9d4a15a844dd6f106532791f6363892cf94adc6b..45218f43fe5b2cc0a93ca17ebe82c60b5e0220c3 100644 (file)
--- a/Config.uk
+++ b/Config.uk
@@ -19,6 +19,8 @@ menuconfig LIBMUSL
   select LIBMUSL_STDLIB
   select LIBMUSL_ENV
 
+  select LIBSYSCALL_SHIM_NOWRAPPER
+
 if LIBMUSL
 
 config LIBMUSL_AIO