fork: settid: return error code.
Change-Id: I0678c266d8608b6d557b2b1e29e59bd6861314b8
This commit is contained in:
committed by
Masamichi Takagi
parent
e932f2e70c
commit
6ce5c754f3
@ -2237,7 +2237,7 @@ SYSCALL_DECLARE(getppid)
|
|||||||
return thread->proc->ppid_parent->pid;
|
return thread->proc->ppid_parent->pid;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void settid(struct thread *thread, int nr_tids, int *tids)
|
static int settid(struct thread *thread, int nr_tids, int *tids)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct syscall_request request IHK_DMA_ALIGN;
|
struct syscall_request request IHK_DMA_ALIGN;
|
||||||
@ -2255,6 +2255,7 @@ static void settid(struct thread *thread, int nr_tids, int *tids)
|
|||||||
kprintf("%s: WARNING: do_syscall returns %d\n",
|
kprintf("%s: WARNING: do_syscall returns %d\n",
|
||||||
__FUNCTION__, ret);
|
__FUNCTION__, ret);
|
||||||
}
|
}
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSCALL_DECLARE(gettid)
|
SYSCALL_DECLARE(gettid)
|
||||||
|
|||||||
Reference in New Issue
Block a user