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

[Minios-devel] [UNIKRAFT/MUSL PATCH 10/19] Add patch to remove syscall prototype in unistd.h



wip: This patch removes the long syscall(long, ...) prototype which
conflicts with Unikraft's syscall_shim layer macros.

Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
---
 patches/0008-remove-prototype-syscall.patch | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 patches/0008-remove-prototype-syscall.patch

diff --git a/patches/0008-remove-prototype-syscall.patch 
b/patches/0008-remove-prototype-syscall.patch
new file mode 100644
index 0000000..d432b7a
--- /dev/null
+++ b/patches/0008-remove-prototype-syscall.patch
@@ -0,0 +1,27 @@
+From 6666c1247fd17859547cf5d25135d0009d94ab1b Mon Sep 17 00:00:00 2001
+From: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
+Date: Sun, 13 Oct 2019 11:48:47 +0200
+Subject: [MUSL] [PATCH] Remove syscall prototype in include/unistd.h
+
+This prototype conflicts with Unikraft's syscall shim layer macros.
+
+Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
+---
+ include/unistd.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/include/unistd.h b/include/unistd.h
+index 09190af..6ee0f1f 100644
+--- a/include/unistd.h
++++ b/include/unistd.h
+@@ -173,7 +173,6 @@ void setusershell(void);
+ void endusershell(void);
+ char *getusershell(void);
+ int acct(const char *);
+-long syscall(long, ...);
+ int execvpe(const char *, char *const [], char *const []);
+ int issetugid(void);
+ #endif
+-- 
+2.11.0
+
-- 
2.11.0


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