linux-user: Implement PR_SET_PDEATHSIG
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220106225738.103012-4-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
1edebb36ea
commit
f746c65909
|
@ -6450,6 +6450,9 @@ static abi_long do_prctl(CPUArchState *env, abi_long option, abi_long arg2,
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
case PR_SET_PDEATHSIG:
|
||||||
|
return get_errno(prctl(PR_SET_PDEATHSIG, target_to_host_signal(arg2),
|
||||||
|
arg3, arg4, arg5));
|
||||||
case PR_GET_NAME:
|
case PR_GET_NAME:
|
||||||
{
|
{
|
||||||
void *name = lock_user(VERIFY_WRITE, arg2, 16, 1);
|
void *name = lock_user(VERIFY_WRITE, arg2, 16, 1);
|
||||||
|
|
Loading…
Reference in a new issue