Re: [PATCH] Fix stack corruption when handling PR_GETDEATHSIG

2020-05-07 Thread Laurent Vivier
Le 07/05/2020 à 01:47, Stephen Long a écrit : > From: Ana Pazos > > Signed-off-by: Ana Pazos > --- > Submitting this patch on behalf of Ana Pazos. The bug was triggered by > the following c file on aarch64-linux-user. > >> #include >> #include >> >> int main() { >> int PDeachSig = 0; >> i

Re: [PATCH] Fix stack corruption when handling PR_GETDEATHSIG

2020-05-06 Thread Philippe Mathieu-Daudé
Hi Stephen, On 5/7/20 1:47 AM, Stephen Long wrote: From: Ana Pazos Signed-off-by: Ana Pazos --- Submitting this patch on behalf of Ana Pazos. The bug was triggered by the following c file on aarch64-linux-user. This is fine, but you have to add your own S-o-b tag too. See the link from htt

[PATCH] Fix stack corruption when handling PR_GETDEATHSIG

2020-05-06 Thread Stephen Long
From: Ana Pazos Signed-off-by: Ana Pazos --- Submitting this patch on behalf of Ana Pazos. The bug was triggered by the following c file on aarch64-linux-user. > #include > #include > > int main() { > int PDeachSig = 0; > if (prctl(PR_GET_PDEATHSIG, &PDeachSig) == 0 && PDeachSig == SIGKIL