diff options
author | marcel <marcel@FreeBSD.org> | 2000-07-20 05:37:41 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-07-20 05:37:41 +0000 |
commit | 2f1d9ab5d22b9d04095dc2cb7118a434c042020d (patch) | |
tree | d122555f408a173c75708229faff2ec497944427 /sys/compat | |
parent | 35b42ab19e84a6a58a4b25c650301ced8a0b3c36 (diff) | |
download | FreeBSD-src-2f1d9ab5d22b9d04095dc2cb7118a434c042020d.zip FreeBSD-src-2f1d9ab5d22b9d04095dc2cb7118a434c042020d.tar.gz |
Revert implementation of setfsuid and setfsgid due to security
issues.
Requested by: rwatson
Backed by: kris
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 87faf63..1adea54 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/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; -} |