]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux: Make PTRACE_GETREGSET return proper buffer size
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 29 Oct 2021 14:28:56 +0000 (15:28 +0100)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Fri, 29 Oct 2021 14:31:33 +0000 (15:31 +0100)
commitf939dccfd770df2f9070cd30aa52105b7afe1bde
tree84a4b09bbe830fdd0778819f192f6ac08b91e869
parentc8c93b151678b57d86cd50509c9cbb863bbe9e57
linux: Make PTRACE_GETREGSET return proper buffer size

This fixes Chrome warning:

[1022/152319.328632:ERROR:ptracer.cc(476)] Unexpected registers size 0 != 216, 68

Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D32616
sys/amd64/linux/linux_ptrace.c