From owner-freebsd-arm@freebsd.org Sun May 27 02:31:19 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8F2FF749A0 for ; Sun, 27 May 2018 02:31:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic307-4.consmr.mail.bf2.yahoo.com (sonic307-4.consmr.mail.bf2.yahoo.com [74.6.134.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 542CC6A8D3 for ; Sun, 27 May 2018 02:31:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: wR4HDDoVM1kec5j_hs9T5TjuPSvgihLXsAzDphR_hZylxk8VE1dRKyU7IO17dK_ neXThW.7CamernmS5dCBpS_aqQNHKVsrJz_nbnZMByLQtKrWeB_YrfEqnYp1rJTb0KbWvM1K7qXB KjQlsTWfklQDl_R.aQmTWzw8Kx5IrY3RbbNM6zkos5nTBZpLKSAikwUdHsu2vvBAXxFbuKS_SwAi rl446exA57frJ4t2s7L1jsUScVKo27oX1bGjIJMqYfDy3mtsuonxOe34QePuPLHfIUqcCVLVKuzv duLUgmyPW5fY8bVPg29eHfwHQZsWXlxMUCLAI24UJzr99iqbZmJXMr.VnN_nG4MLuTe5qnRNIfqJ IxHUQHvPSiLfGESVTF2mw6BGDB6iJuBlmcOsygfzUAeyA363XkSqVQtA6Q9ZsydAzS5gEFZt_8sY Nwo3MuyECA6kNtxP1PDldlv.b82M2NXbhoLUQI4sm6hBmj.MnwLIgic9Wfp6AwYeNQTXxZ4y_0Cw 8AQdI9O1lQ5D7HE4fgHzbuFR6WlEG3QnfCdlQ.kZ6Nuv2PrxYtDXCjKbFDuel0ySCddVkRYsdh69 1rzwKDLBPCVjcvP13bliIUf.Scgk38ljeeEg8CtN8e2MtMM4Ty1.pk25cDoF59zYg0WX8L1tc4M1 roa5dAiNf0oIVaUmqoTsJD1UxL8_xRFC8ENVg Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Sun, 27 May 2018 02:31:12 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 1c42ce5e67f44733b3bc50e17152e136; Sun, 27 May 2018 02:31:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: bugzilla 213937: not just arm and not just stable/11 Message-Id: <910869D6-0CA7-4B3C-BF91-A56EFD62FDA8@yahoo.com> Date: Sat, 26 May 2018 19:31:08 -0700 To: freebsd-arm@freebsd.org, FreeBSD Current X-Mailer: Apple Mail (2.3445.6.18) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2018 02:31:19 -0000 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)