summaryrefslogtreecommitdiff
path: root/sys/compat/svr4/syscalls.master
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-01-30 03:29:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-01-30 03:29:50 +0000
commite9389a44941c88aa9f36b0eb98cb77abc32542cf (patch)
treee61849abc74c49a8d331c1f43c57da45b0d5f0e5 /sys/compat/svr4/syscalls.master
parent2caf64284c4778676d10a14338c02351b9774fe6 (diff)
Bring back setreuid(2) and setregid(2) as first class syscalls
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
Diffstat (limited to 'sys/compat/svr4/syscalls.master')
-rw-r--r--sys/compat/svr4/syscalls.master6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index 8e22a4048de..ac9b4b81f0c 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.32 2002/07/06 19:14:20 nordin Exp $
+ $OpenBSD: syscalls.master,v 1.33 2003/01/30 03:29:49 millert Exp $
; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -311,8 +311,8 @@
200 STD { int svr4_sys_facl(int fd, int cmd, int num, \
struct svr4_aclent *buf); }
201 UNIMPL door
-202 NOARGS { int compat_43_sys_setreuid(int ruid, int euid); }
-203 NOARGS { int compat_43_sys_setregid(int rgid, int egid); }
+202 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); }
+203 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); }
204 UNIMPL install_utrap
205 UNIMPL signotify
206 UNIMPL schedctl