diff options
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-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) { |