From patchwork Sat Sep 24 11:44:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 12987585 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD660C32771 for ; Sat, 24 Sep 2022 11:54:41 +0000 (UTC) Received: from localhost ([::1]:55054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc3k0-00035w-Lp for qemu-devel@archiver.kernel.org; Sat, 24 Sep 2022 07:54:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc3as-0004Kk-D9 for qemu-devel@nongnu.org; Sat, 24 Sep 2022 07:45:14 -0400 Received: from mout.gmx.net ([212.227.15.19]:46535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc3an-0003R0-2O for qemu-devel@nongnu.org; Sat, 24 Sep 2022 07:45:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1664019904; bh=Jn37Ns805be5TNP0dnWflE8APtxrU6ZlAd65bpZKf/Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=N2XJYBxH4O87zk0X6RfNGxxMUK9sw9K1/nZtdLIGATi3jah0bt5PwiJlGQlVzDoGi pK/Tk5SBfocbIdVYtwSMdjRnRY7YYmSmV2AF633NmfDhTRyLp780gwDz9xPfsIIyt+ AhlpJfvTT7UYJMrzHr0DYhotkbLE1tXYcCmXCaBk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from p100.fritz.box ([92.116.155.187]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MqJm5-1p6QTb2IAF-00nNEj; Sat, 24 Sep 2022 13:45:04 +0200 From: Helge Deller To: Richard Henderson , Laurent Vivier , qemu-devel@nongnu.org Cc: Helge Deller Subject: [PATCH 2/7] linux-user: Add proper strace format strings for getdents()/getdents64() Date: Sat, 24 Sep 2022 13:44:56 +0200 Message-Id: <20220924114501.21767-3-deller@gmx.de> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220924114501.21767-1-deller@gmx.de> References: <20220924114501.21767-1-deller@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:LO34WL182r4WzLKWNWvbZjjWJaDNX9JI1fspoWZJvKs4+I7xBbK V8J75YJCHilG2JblLbsTiqiLus3ng8kjehVfT0LoV3lvNse8XiaFEbrS+3VjZSAdYcpiD9f m3UcEshGg8ZurGv6icq/iNpPV+1m3zo76SyCcQ/gh72EiEWNsfT7TxRJNDecWIyJQsE7zNO 7RvqjUfNqX81MrQ4njwjw== X-UI-Out-Filterresults: notjunk:1;V03:K0:tMFuy9ueoKk=:4t4tAo8mJ8I5UP3fenWEbs M3lCuNntCqD2s1LH5ENDe7SjGusjzXKP18brFLpC+l/27mhK/iZiOwQjxghxXtP/aUqi43luk accbN13C4bPaVVfhI3EbP9eSFplM+0/R+AMdhu5PzPs1/aBBGsj6fpCrOwYnTbnOlxD1BHZcZ RF5BwLrPwD7MBV6XoxJoA5/4i6ID4rv7YXjkMOK7dckmcvkoWs/5LFhIWgbh+e6FbEG87ky1R Senh7bUmOLNp6kvUA3THmHpjnipKg9gWuvxhtbf85HukhqutkfEaEDRER5dPhHtUjC9CEH+6y OPEPHvyIr9BEs5+B/HsQooYQ/oOg5Zg71oLhKd5G4A/5/hnTMLpzt+Q0eLrRDtrRfdUSZMXD9 /1eO2Uw/JMByKyBkqIKDvJYh5bda9tskt8lARPdsxz6p5m3oFZ8RGY1vrg1vnmrS5My2jFaCF qns5xG8wmCf2uq1x1FIst2c/DdC3nnWL7LNdiJryON8Ur7YYzX+prwyfdyFllX99fiGw/wyCs xpPWAftBiM3Grw9W9f//Bu/ce2ri0c3isZPsbV/Rho/x5ki5xhbugtyiBS/Q18E+aL2Jk8PBg GN3zYgb0wZLhQ7Oj2607VrSMHsW4G0rYfyZmhIm4GOZsUpcwhrHwkI2cCFZhgIBOqSPbelGP+ rdilRWIMRfPiazPmh8lUPKoU83fn0SYzOWSuYqjikS/EbgCh+wk7WAuKMafTQ9Zo5kjjIK0ju 3UR1AKJUZwKfYVkcncO3jW0A+RT8x9hV76d9uWzk9541mCBI9ANkAsmGJ9NLHZJImBLHApMTi 4mnisugPV1Kn5/KQnKbcIpHw8hIinP9jMarXGk4GzLPEj4LaPYRsN4dr8yR6qC9L9UUlGxHzj FFSh2p+UwGp61a3v6HoJZFJ17oIZigGFFg8dA6TovD7WVXRcPhaueWvxms5YFPrhSlZmp7WSj 4GLR1Ul/fHWVDXXqzP7jlqVqqRMZs0GKAKc+qMLl3o0420XMgiyhLFrh0jPjt7AuP3qgBmyGo fxCbndYnWaSHqv9v0jJ23RoKeWR8l2yNAX31OUO94Lm37NP9S71WSY9nBIhWSyJG/guwTPNWi EI0XlY+M6bZQq3NEPaFJ+wS8DmjCoOMyOzRBuUsJ+XColROmyjDshfxtW9bRuoIW6N91Kqyrk aLjGx0SNbVmB0zx5mW0bFmwMlO Received-SPF: pass client-ip=212.227.15.19; envelope-from=deller@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Helge Deller --- linux-user/strace.list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.37.3 diff --git a/linux-user/strace.list b/linux-user/strace.list index da8c1bf34e..bfef568d18 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -285,10 +285,10 @@ { TARGET_NR_getcwd, "getcwd" , "%s(%p,%d)", NULL, NULL }, #endif #ifdef TARGET_NR_getdents -{ TARGET_NR_getdents, "getdents" , NULL, NULL, NULL }, +{ TARGET_NR_getdents, "getdents" , "%s(%d,%p,%u)", NULL, NULL }, #endif #ifdef TARGET_NR_getdents64 -{ TARGET_NR_getdents64, "getdents64" , NULL, NULL, NULL }, +{ TARGET_NR_getdents64, "getdents64" , "%s(%d,%p,%u)", NULL, NULL }, #endif #ifdef TARGET_NR_getdomainname { TARGET_NR_getdomainname, "getdomainname" , NULL, NULL, NULL },