diff options
author | marcel <marcel@FreeBSD.org> | 2001-09-28 01:40:51 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2001-09-28 01:40:51 +0000 |
commit | 43a8e63a3814b0dfb882c46d10c0ccd62e8a5714 (patch) | |
tree | f6ef1bd41b5f98b4d4c2e79238e8b9c1b1dbcb8e /sys | |
parent | 0e0d997b9e08326053cbed5b5cac4e9ae6845f5d (diff) | |
download | FreeBSD-src-43a8e63a3814b0dfb882c46d10c0ccd62e8a5714.zip FreeBSD-src-43a8e63a3814b0dfb882c46d10c0ccd62e8a5714.tar.gz |
Remove linux_getpgid(). We map the syscall natively now.
PR: kern/21402
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_misc.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index f82f799..0d21eca 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -569,27 +569,6 @@ select_out: return error; } -int -linux_getpgid(struct thread *td, struct linux_getpgid_args *args) -{ - struct proc *curp; - -#ifdef DEBUG - if (ldebug(getpgid)) - printf(ARGS(getpgid, "%d"), args->pid); -#endif - - if (args->pid != td->td_proc->p_pid) { - if (!(curp = pfind(args->pid))) - return ESRCH; - td->td_retval[0] = curp->p_pgid; - PROC_UNLOCK(curp); - } else - td->td_retval[0] = td->td_proc->p_pgid; - - return 0; -} - int linux_mremap(struct thread *td, struct linux_mremap_args *args) { |