summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/syscalls.master
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-09 18:23:16 +0000
committerbde <bde@FreeBSD.org>2000-05-09 18:23:16 +0000
commit27f17df7414d2512081ffa7e32960442f052320f (patch)
tree34cb41f53802e5021f4f75322c22808767135b10 /sys/i386/linux/syscalls.master
parent792296e53037fa4a6a780c4c76a882c9bf547f3c (diff)
downloadFreeBSD-src-27f17df7414d2512081ffa7e32960442f052320f.zip
FreeBSD-src-27f17df7414d2512081ffa7e32960442f052320f.tar.gz
Fixed the return type for exit() and the args struct tag several NOPROTO
syscalls including exit(). These entries were unused, so the bugs had no effect, but the the args struct tag will be used to calculate sy_nargs correctly. exit() was wrong in all emulators.
Diffstat (limited to 'sys/i386/linux/syscalls.master')
-rw-r--r--sys/i386/linux/syscalls.master5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index e276c93..473baf1 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -32,7 +32,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 STD LINUX { int linux_setup(void); }
-1 NOPROTO LINUX { int exit(int rval); }
+1 NOPROTO LINUX { void exit(int rval); } exit rexit_args void
2 STD LINUX { int linux_fork(void); }
3 NOPROTO LINUX { int read(int fd, char *buf, u_int nbyte); }
4 NOPROTO LINUX { int write(int fd, char *buf, u_int nbyte); }
@@ -113,7 +113,8 @@
linux_osigset_t oldmask, \
linux_osigset_t mask); }
73 STD LINUX { int linux_sigpending(linux_osigset_t *mask); }
-74 NOPROTO LINUX { int osethostname(char *hostname, u_int len); }
+74 NOPROTO LINUX { int osethostname(char *hostname, u_int len); } \
+ osethostname sethostname_args int
75 STD LINUX { int linux_setrlimit(u_int resource, \
struct ogetrlimit *rlim); }
76 STD LINUX { int linux_getrlimit(u_int resource, \
OpenPOWER on IntegriCloud