diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-10-27 13:23:39 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-10-27 13:23:39 +0000 |
commit | a0c7a779f0ac5eacd2e923a5bf9e2f180c29c9b6 (patch) | |
tree | cd7e9bea0b2bd6fbc8ea2bb516c9f128f1120e7f /sys/compat/linux | |
parent | cb07f9c9f403160e99e67004caa57b178621399a (diff) |
Add support for sys_setre[ug]id, ok deraadt@
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_dummy.c | 4 | ||||
-rw-r--r-- | sys/compat/linux/syscalls.master | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index 9619c1b3cc4..64b0ca3b9a7 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_dummy.c,v 1.15 2004/04/05 00:01:12 tedu Exp $ */ +/* $OpenBSD: linux_dummy.c,v 1.16 2004/10/27 13:23:38 niklas Exp $ */ /*- * Copyright (c) 1994-1995 Søren Schmidt @@ -108,8 +108,6 @@ DUMMY(sendfile); /* #187 */ DUMMY(getpmsg); /* #188 */ DUMMY(putpmsg); /* #189 */ DUMMY(lchown); /* #198 */ -DUMMY(setreuid); /* #203 */ -DUMMY(setregid); /* #204 */ DUMMY(fchown); /* #207 */ DUMMY(chown); /* #212 */ DUMMY(setfsgid); /* #216 */ diff --git a/sys/compat/linux/syscalls.master b/sys/compat/linux/syscalls.master index 2c72a76db3c..e778f3c8aab 100644 --- a/sys/compat/linux/syscalls.master +++ b/sys/compat/linux/syscalls.master @@ -1,4 +1,4 @@ - $OpenBSD: syscalls.master,v 1.48 2004/07/09 23:52:02 millert Exp $ + $OpenBSD: syscalls.master,v 1.49 2004/10/27 13:23:38 niklas Exp $ ; $NetBSD: syscalls.master,v 1.15 1995/12/18 14:35:10 fvdl Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -337,8 +337,8 @@ 200 STD { gid_t linux_sys_getgid(void); } 201 NOARGS { uid_t sys_geteuid(void); } 202 NOARGS { gid_t sys_getegid(void); } -203 NOARGS { int linux_sys_setreuid(void); } -204 NOARGS { int linux_sys_setregid(void); } +203 NOARGS { int sys_setreuid(int ruid, int euid); } +204 NOARGS { int sys_setregid(int rgid, int egid); } 205 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); } 206 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); } 207 NOARGS { int linux_sys_fchown(void); } |