diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/linux/linux_dummy.c | 2 | ||||
-rw-r--r-- | sys/i386/linux/linux_misc.c | 20 |
2 files changed, 2 insertions, 20 deletions
diff --git a/sys/i386/linux/linux_dummy.c b/sys/i386/linux/linux_dummy.c index 25615fd..7afe4b3 100644 --- a/sys/i386/linux/linux_dummy.c +++ b/sys/i386/linux/linux_dummy.c @@ -84,6 +84,8 @@ DUMMY(quotactl); DUMMY(bdflush); DUMMY(sysfs); DUMMY(afs_syscall); +DUMMY(setfsuid); +DUMMY(setfsgid); DUMMY(getsid); DUMMY(sysctl); DUMMY(getresuid); diff --git a/sys/i386/linux/linux_misc.c b/sys/i386/linux/linux_misc.c index 87faf63..1adea54 100644 --- a/sys/i386/linux/linux_misc.c +++ b/sys/i386/linux/linux_misc.c @@ -1466,23 +1466,3 @@ linux_modify_ldt(p, uap) return (error); } - -int -linux_setfsuid(p, uap) - struct proc *p; - struct linux_setfsuid_args *uap; -{ - p->p_retval[0] = p->p_ucred->cr_uid; - /* XXX - emit a diagnostics message */ - return 0; -} - -int -linux_setfsgid(p, uap) - struct proc *p; - struct linux_setfsgid_args *uap; -{ - p->p_retval[0] = p->p_ucred->cr_gid; - /* XXX - emit a diagnostics message */ - return 0; -} |