Re: arm64: Register modification during syscall entry/exit stop
From: Dave Martin <Dave.Martin@arm.com>
Date: 2020-06-01 09:14:46
Also in:
lkml
From: Dave Martin <Dave.Martin@arm.com>
Date: 2020-06-01 09:14:46
Also in:
lkml
On Sun, May 31, 2020 at 12:13:18PM -0400, Keno Fischer wrote:
quoted
Keno -- are you planning to send out a patch? You previously spoke about implementing this using PTRACE_SETOPTIONS.Yes, I'll have a patch for you. Though I've come to the conclusion that introducing a new regset is probably a better way to solve it. We can then also expose orig_x0 at the same time and give it sane semantics (there's some problems with the way it works currently - I'll write it up together with the patch).
I'd worry that having a new ptrace option would be useless bug- compatibility that is just going to bitrot. Can you explain why userspace would write a changed value for x7 but at the same time need that new to be thrown away? That sounds like a nonsensical thing for userspace to be doing. Cheers ---Dave _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel