This fixes Chrome warning:
[1022/152319.328632:ERROR:ptracer.cc(476)] Unexpected registers size 0 != 216, 68
Differential D32616
linux: Make PTRACE_GETREGSET return proper buffer size trasz on Oct 23 2021, 7:32 PM. Authored by Tags None Referenced Files
Details This fixes Chrome warning: [1022/152319.328632:ERROR:ptracer.cc(476)] Unexpected registers size 0 != 216, 68
Diff Detail
Event TimelineComment Actions Was this just an incorrect understanding in R10:faf2fa21d70b1e625cb7af032e6608e631931486? Comment Actions That one's for PTRACE_GETREGSET, while this revision changes PTRACE_GETREGS - although it incorrectly claimed to do PTRACE_GETREGSET; fixed now :-) I think it was just a misunderstanding in d82de05480f; strace(1) seems to accept the previous, truncated, struct somehow. Comment Actions Sigh, no, you were right. My comment is for https://reviews.freebsd.org/D32601, not for this one here. |