Date: Sat, 26 May 2018 19:31:08 -0700 From: Mark Millard <marklmi@yahoo.com> To: freebsd-arm@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org> Subject: bugzilla 213937: not just arm and not just stable/11 Message-ID: <910869D6-0CA7-4B3C-BF91-A56EFD62FDA8@yahoo.com>
next in thread | raw e-mail | index | archive | help
I've updated the description and such for:
Bug 213937 - stable/11 -r334246 on BPi-M3 (cortex-a7), amd64, and more, =
also head: ktrace misreports bad svc (SIGSYS) number
The primary description is really Comment 2 from Oleksandr Tymoshenko :
> This is not ARM specific, the same bug can be reproduced in amd64 =
using syscall(2) function.
>=20
> The reason for this that in sys/sys/ktrace.h syscall code is defined =
as short:
> struct ktr_syscall {
> short ktr_code; /* syscall number */
> short ktr_narg; /* number of arguments */
> /*
> * followed by ktr_narg register_t
> */
> register_t ktr_args[1];
> };
>=20
> This definitely does not match syscall(2) API where code is defined as =
integer and all architectures define it as u_int in struct syscall_args.
It is that way in every stable/11 and head version of the file
that I have looked at.
=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?910869D6-0CA7-4B3C-BF91-A56EFD62FDA8>
