summaryrefslogtreecommitdiff
path: root/sys/compat/osf1
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/osf1
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/osf1')
-rw-r--r--sys/compat/osf1/syscalls.master6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/osf1/syscalls.master b/sys/compat/osf1/syscalls.master
index c91e636465b..ed1d4bc5270 100644
--- a/sys/compat/osf1/syscalls.master
+++ b/sys/compat/osf1/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.8 2000/08/04 15:47:55 ericj Exp $
+ $OpenBSD: syscalls.master,v 1.9 2003/01/30 03:29:49 millert Exp $
; $NetBSD: syscalls.master,v 1.29 1999/05/10 03:33:04 cgd Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -213,8 +213,8 @@
125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \
size_t len, int flags, caddr_t from, \
int *fromlenaddr); }
-126 UNIMPL setreuid
-127 UNIMPL setregid
+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(const char *from, \
const char *to); }
129 STD { int osf1_sys_truncate(char *path, \