From: Gaulthier Gain Date: Wed, 29 Jan 2020 21:18:36 +0000 (+0100) Subject: Update __syscall_cp.c to use syscalls from the syscall_shim layer X-Git-Tag: RELEASE-0.4~15 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=07c0e5a7c4bed9b329420a22fdf307b7e0102952;p=unikraft%2Flibs%2Fmusl.git Update __syscall_cp.c to use syscalls from the syscall_shim layer This patch updates __syscall_cp.c to use uk_syscall declaration from the syscall_shim layer. Signed-off-by: Gaulthier Gain Reviewed-by: Simon Kuenzer --- diff --git a/patches/0007-__syscall_cp-use-syscall-shim-layer.patch b/patches/0007-__syscall_cp-use-syscall-shim-layer.patch new file mode 100644 index 0000000..d9c9c5a --- /dev/null +++ b/patches/0007-__syscall_cp-use-syscall-shim-layer.patch @@ -0,0 +1,26 @@ +From 0a1ffcddc9c4e3dfb251b8ccf153821448f97048 Mon Sep 17 00:00:00 2001 +From: Gaulthier Gain +Date: Sat, 25 Jan 2020 15:45:06 +0100 +Subject: [PATCH] Update __syscall_cp to use syscalls from syscall shim layer + +Signed-off-by: Gaulthier Gain +--- + src/thread/__syscall_cp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/thread/__syscall_cp.c b/src/thread/__syscall_cp.c +index 09a2be8..e22e75b 100644 +--- a/src/thread/__syscall_cp.c ++++ b/src/thread/__syscall_cp.c +@@ -8,7 +8,7 @@ static long sccp(syscall_arg_t nr, + syscall_arg_t u, syscall_arg_t v, syscall_arg_t w, + syscall_arg_t x, syscall_arg_t y, syscall_arg_t z) + { +- return (__syscall)(nr, u, v, w, x, y, z); ++ return (uk_syscall)(nr, u, v, w, x, y, z); + } + + weak_alias(sccp, __syscall_cp_c); +-- +2.20.1 +