diff options
| author | mycroft <mycroft@NetBSD.org> | 1996-06-23 11:13:32 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1996-06-23 11:13:32 +0000 |
| commit | 365a977533909512822b8bf152f49100e7b79a3a (patch) | |
| tree | 2ed03ad77a915a1d9b8a419597073950483b012f /sys/compat/linux/common/linux_oldselect.c | |
| parent | f01b3b1837a300827a8e85d01a932fb2e6301c69 (diff) | |
Catch up with setre[ug]id() changes.
Diffstat (limited to 'sys/compat/linux/common/linux_oldselect.c')
| -rw-r--r-- | sys/compat/linux/common/linux_oldselect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/compat/linux/common/linux_oldselect.c b/sys/compat/linux/common/linux_oldselect.c index 4e827bd1849..0b6f7c893d7 100644 --- a/sys/compat/linux/common/linux_oldselect.c +++ b/sys/compat/linux/common/linux_oldselect.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_oldselect.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ +/* $NetBSD: linux_oldselect.c,v 1.28 1996/06/23 11:13:32 mycroft Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -1081,14 +1081,14 @@ linux_sys_setreuid(p, v, retval) syscallarg(int) ruid; syscallarg(int) euid; } */ *uap = v; - struct compat_43_sys_setreuid_args bsa; + struct sys_setreuid_args bsa; SCARG(&bsa, ruid) = ((linux_uid_t)SCARG(uap, ruid) == (linux_uid_t)-1) ? (uid_t)-1 : SCARG(uap, ruid); SCARG(&bsa, euid) = ((linux_uid_t)SCARG(uap, euid) == (linux_uid_t)-1) ? (uid_t)-1 : SCARG(uap, euid); - return compat_43_sys_setreuid(p, &bsa, retval); + return sys_setreuid(p, &bsa, retval); } int @@ -1101,14 +1101,14 @@ linux_sys_setregid(p, v, retval) syscallarg(int) rgid; syscallarg(int) egid; } */ *uap = v; - struct compat_43_sys_setregid_args bsa; + struct sys_setregid_args bsa; SCARG(&bsa, rgid) = ((linux_gid_t)SCARG(uap, rgid) == (linux_gid_t)-1) ? (uid_t)-1 : SCARG(uap, rgid); SCARG(&bsa, egid) = ((linux_gid_t)SCARG(uap, egid) == (linux_gid_t)-1) ? (uid_t)-1 : SCARG(uap, egid); - return compat_43_sys_setregid(p, &bsa, retval); + return sys_setregid(p, &bsa, retval); } int |
