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

Re: [Minios-devel] [UNIKRAFT/MUSL PATCH V2 13/28] Update __syscall_cp.c to use syscalls from the syscall_shim layer



Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 29.01.20 22:18, Gaulthier Gain wrote:
This patch updates __syscall_cp.c to use uk_syscall declaration from
the syscall_shim layer.

Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
---
  ...-__syscall_cp-use-syscall-shim-layer.patch | 26 +++++++++++++++++++
  1 file changed, 26 insertions(+)
  create mode 100644 patches/0007-__syscall_cp-use-syscall-shim-layer.patch

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 <gaulthier.gain@xxxxxxxxx>
+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 <gaulthier.gain@xxxxxxxxx>
+---
+ 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
+


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