summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/syscalls.master
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-02 00:07:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-02 00:07:06 +0000
commit79a0860311f5ec209b8bd9905f52cafa77f33fac (patch)
treeac900560723b9ed223bce93a665171e7478be895 /sys/compat/svr4/syscalls.master
parent1f451a7c41cc7a1ba2b807cc42d8a449b68c008d (diff)
If i386, and COMPAT_LINUX is enabled, if setegid() is called with an out
of range value recognize it as the Linux personality() system call, and switch into Linux emulation mode.... At least they could have picked an unused system call number!
Diffstat (limited to 'sys/compat/svr4/syscalls.master')
-rw-r--r--sys/compat/svr4/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index 87aaea71445..d30b50c4513 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.19 1997/11/13 06:23:06 deraadt Exp $
+ $OpenBSD: syscalls.master,v 1.20 1997/12/02 00:07:05 deraadt Exp $
; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -234,7 +234,7 @@
134 NOARGS { int sys_rename(char *from, char *to); }
135 STD { int svr4_sys_uname(struct svr4_utsname* name, \
int dummy); }
-136 NOARGS { int sys_setegid(gid_t egid); }
+136 STD { int svr4_sys_setegid(gid_t egid); }
137 STD { int svr4_sys_sysconfig(int name); }
138 NOARGS { int sys_adjtime(struct timeval *delta, \
struct timeval *olddelta); }