File personality.patch of Package s390-32
--- s390.c
+++ s390.c
@@ -1,7 +1,7 @@
/* (C) 1998,1999 Jakub Jelinek under terms of GPL */
-// for PER_*
+/* for PER_* */
#include <linux/personality.h>
-// for _syscall1
+/* for _syscall1 */
#include <linux/unistd.h>
#include <stdio.h>
#include <unistd.h>
@@ -11,15 +11,17 @@
char *getenv(const char *name);
#include <string.h>
#include <sys/utsname.h>
-
-// linux/personality.h #defines a personality macro, whose name
-// conflicts the personality syscall. That should be protected with
-// #ifdef __KERNEL__ :/
-
+/*
+ linux/personality.h #defines a personality macro, whose name
+ conflicts the personality syscall. That should be protected with
+ #ifdef __KERNEL__ :/
+*/
#ifdef personality
# undef personality
#endif
-_syscall1(int, personality, long, pers);
+
+void exit(int status);
+int personality(unsigned long persona);
int main(int argc, char *argv[])