diff options
author | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
commit | 86602fc06c6eef73f48ce541f6b8d2b6af993629 (patch) | |
tree | eeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/kern/kern_prot.c | |
parent | 31644ac9d825eba99a73dc4d36f6f2c06879799d (diff) | |
download | FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.zip FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.tar.gz |
Deorbit COMPAT_SUNOS.
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither
a sparc32 port nor a SunOS4.x compatibility desire these days.
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r-- | sys/kern/kern_prot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index d30a94b..ab2ae0a 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -84,7 +84,7 @@ getpid(struct thread *td, struct getpid_args *uap) struct proc *p = td->td_proc; td->td_retval[0] = p->p_pid; -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) PROC_LOCK(p); td->td_retval[1] = p->p_pptr->p_pid; PROC_UNLOCK(p); @@ -216,7 +216,7 @@ getuid(struct thread *td, struct getuid_args *uap) { td->td_retval[0] = td->td_ucred->cr_ruid; -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) td->td_retval[1] = td->td_ucred->cr_uid; #endif return (0); @@ -253,7 +253,7 @@ getgid(struct thread *td, struct getgid_args *uap) { td->td_retval[0] = td->td_ucred->cr_rgid; -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) td->td_retval[1] = td->td_ucred->cr_groups[0]; #endif return (0); |