summaryrefslogtreecommitdiff
path: root/sys/compat/sunos/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/sunos/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/sunos/syscalls.master')
-rw-r--r--sys/compat/sunos/syscalls.master6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/sunos/syscalls.master b/sys/compat/sunos/syscalls.master
index fa7f6bc731c..9bd3b661039 100644
--- a/sys/compat/sunos/syscalls.master
+++ b/sys/compat/sunos/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.12 2002/03/14 00:42:25 miod Exp $
+ $OpenBSD: syscalls.master,v 1.13 2003/01/30 03:29:49 millert Exp $
; $NetBSD: syscalls.master,v 1.33 1996/02/28 16:05:43 pk Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -203,8 +203,8 @@
125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \
size_t len, int flags, caddr_t from, \
int *fromlenaddr); }
-126 NOARGS { int compat_43_sys_setreuid(int ruid, int euid); }
-127 NOARGS { int compat_43_sys_setregid(int rgid, int egid); }
+126 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); }
+127 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); }
128 NOARGS { int sys_rename(char *from, char *to); }
129 NOARGS { int compat_43_sys_truncate(char *path, long length); }
130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); }