From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B62BC77B73 for ; Sun, 23 Apr 2023 08:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbjDWIYD (ORCPT ); Sun, 23 Apr 2023 04:24:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjDWIYC (ORCPT ); Sun, 23 Apr 2023 04:24:02 -0400 Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3547B10D2 for ; Sun, 23 Apr 2023 01:24:01 -0700 (PDT) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Q41WM4T3cz1r1N0; Sun, 23 Apr 2023 10:23:59 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Q41WM3qfHz1qqlS; Sun, 23 Apr 2023 10:23:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id lVUjmQegUC2C; Sun, 23 Apr 2023 10:23:58 +0200 (CEST) X-Auth-Info: ctrftJFHLhJ1oFis1UPD1bgJSwmAnKDWzmg02bbsnmlhj5lG06G5LEVj2M+x+z8F Received: from tiger.home (aftr-82-135-86-35.dynamic.mnet-online.de [82.135.86.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 23 Apr 2023 10:23:58 +0200 (CEST) Received: by tiger.home (Postfix, from userid 1000) id 64371196E7E; Sun, 23 Apr 2023 10:23:58 +0200 (CEST) From: Andreas Schwab To: Michael Schmitz Cc: Finn Thain , debian-68k@lists.debian.org, linux-m68k@lists.linux-m68k.org Subject: Re: reliable reproducer, was Re: core dump analysis In-Reply-To: <06c14a4a-1679-31d6-0501-97e20741f88a@gmail.com> (Michael Schmitz's message of "Sun, 23 Apr 2023 20:18:18 +1200") References: <4a9c1d0d-07aa-792e-921f-237d5a30fc44.ref@yahoo.com> <406cb339-0a0c-4d71-9b5c-c11568793c14@gmail.com> <71af7b52-a1d4-581c-d5af-afce6991c48d@gmail.com> <7ea095ba-7df1-1ffe-e87d-12d46ebe72f6@gmail.com> <2fdc2819-526a-756f-19d0-ac1147f85b63@linux-m68k.org> <868b5214-fa13-dcf7-a671-9843169eea06@gmail.com> <87fs8sz6e9.fsf@igel.home> <878rekz0md.fsf@igel.home> <87o7nfyd7e.fsf@igel.home> <87jzy3y79y.fsf@igel.home> <5824d97d-683b-a354-3c39-cb0f54e50bc0@gmail.com> <06c14a4a-1679-31d6-0501-97e20741f88a@gmail.com> X-Yow: Look!! Karl Malden! Date: Sun, 23 Apr 2023 10:23:58 +0200 Message-ID: <87y1mj0zxd.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.kernel.org On Apr 23 2023, Michael Schmitz wrote: > Wasn't too hard actually. The signo parameter passed to the handler turns > out to be passed by reference, and signo is located 4 bytes into the > kernel sigframe. That's not "passed by reference". Function arguments are always passed on the stack. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."