Message ID | 20211114103539.298686-1-richard.henderson@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp4153626imj; Sun, 14 Nov 2021 02:36:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyowkY5EBBcu/v6QyWLro1Dq4DYBef2srS9/4jzB38av9ONvH0vbKwCcx9wvvb4pFrZLYxI X-Received: by 2002:a9f:2c98:: with SMTP id w24mr44733362uaj.89.1636886189902; Sun, 14 Nov 2021 02:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636886189; cv=none; d=google.com; s=arc-20160816; b=FCp3IK60f+4B37k6d2qJ5kRIzzuIUGmBlc1FJwqBY04QhIzpS3Ol7hIELpn6qnuYGy uBXsNil7iNv75OV3+SyyB24bNOEj7Ta0/2c0XV/FfNr6Z2asG21a86mKV5tEhDW854FI w06vmAZ2E51o0QGZackzQCFLrnUB9CxqOJOLVMkOzLHSfJiR7hC/l0Kj97jXRx0W8Sr/ KHBNXggdYEQiEahjN2RTRRxnDJLUda6xGb39Qk8uq/XtZEJwaCZYUiVRxEsqbd22s3Hw MsCIg2vkFFd0eFI7iXCs6amLsPwyujyuJA1KRozwEq1eBEdQrLP4N33YUIdp2GL1cFpa ySpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=5YcFKE54Fp6GP0sd+t0790pJNxFlEy/WRU5mL/Y67tE=; b=MZxX9zFfK1ZM1ugOwqvipOabGhX7GslTTGRaelmXiPwwScWX+eXm3LMATWz+FkicEo z+1rYxmjtygoK2ToYxbvKqV+0o/xAe3LW0LZRT7meUJxLqjHixj4IMOe8zVS0WqqraFv NOqUUSsSHuECC1VJTvXD6AJOGyTdtgpxTJi26fghscXoss/OW/zSJWI19OCI8VOqt1wu xFyJdx0qa/okEDY1pwDhT4f8AeNfLso6/XZHn0bSw0by6IPYnTJ+k8iUa15cABqnPniN G+XJonuEfij/SfvMoYeLQPXQIVsElrqnXqHgZ/nUZSgzzaYulkBgw/DqjTQrG/ah8KPZ R0Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Je/UJ+Ac"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w13si22245042uar.178.2021.11.14.02.36.29 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Nov 2021 02:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Je/UJ+Ac"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1mmCs9-0003sk-CI for patch@linaro.org; Sun, 14 Nov 2021 05:36:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mmCrX-0003r6-UU for qemu-devel@nongnu.org; Sun, 14 Nov 2021 05:35:51 -0500 Received: from [2a00:1450:4864:20::431] (port=47039 helo=mail-wr1-x431.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mmCrW-0000gY-G8 for qemu-devel@nongnu.org; Sun, 14 Nov 2021 05:35:51 -0500 Received: by mail-wr1-x431.google.com with SMTP id u1so24326793wru.13 for <qemu-devel@nongnu.org>; Sun, 14 Nov 2021 02:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5YcFKE54Fp6GP0sd+t0790pJNxFlEy/WRU5mL/Y67tE=; b=Je/UJ+AckXhzpfc7wSXAG/PRE35b8gO4/EW8TUml7QCVrcgvdua8lyWFuorUzuhbV2 hknhuDOdywo/ngWpJqu5lMEOHf4vvLOMxE5cFHCrt8RWWSsKjD+RAVg+9WoFQXm5aBJT cWplKBSW2VdlMW8D/sIETMcTKsZgZ0LP+b4DgZx4F7xGE5OrK9qzeAL5jAoaxX1upenI EjCNnalxV3293sheC1E/8TygmrmI0GKis+/Jh5Lz8WJm13u3r+pz5M1Vm/nUtSTm8LO2 QpAKOym97gqNfJFBbl3cwxQaLJ0BzXxO9XGR4vJWRrz87Wk9bnz6g/YLXk/92iUvP4tM yy2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5YcFKE54Fp6GP0sd+t0790pJNxFlEy/WRU5mL/Y67tE=; b=4pba/jATvglIBe4bHIKSzW8khlEZ15tYmUemy4mpNA0Q4vvVc6rYJGMNZwcOn/gypD yPK0GVmG6ZNwW9TQ6zsn0Q3mnOJb6cHFWuUKtIcH35FNbZq4Muuk4/B8bG7JQAOTDyZy T9F8O6vxPVUPhUYeACOlSIIHqiAWRbLwVqVnaI4WzLAFbIxvzEneMTch3irNI9j1TYuB DMYj+DkxkHy9sPZpRY+z5+dJ8CANbEGnOnGeZeFVnu+fRJs1p9y6Fo0dfK9eOAWCsz8C aViIidjZ3bE+NItYVEORNAiTSyq/Ya2Nf6SWE1+Ne0MSP3UJAGGN8Cn1pfLR2xaxSkbh DjzQ== X-Gm-Message-State: AOAM5309zmkg1IGMx177Ip40WWRL++Y48RSBqfUW0B0fCovtDgUWJ8yu F2n27zsg7PLpWVXdLGT4zQcRXKbqK0csmEXnHRc= X-Received: by 2002:a5d:648f:: with SMTP id o15mr35045298wri.381.1636886148446; Sun, 14 Nov 2021 02:35:48 -0800 (PST) Received: from localhost.localdomain (60.red-95-126-179.staticip.rima-tde.net. [95.126.179.60]) by smtp.gmail.com with ESMTPSA id x1sm10638852wmc.22.2021.11.14.02.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Nov 2021 02:35:47 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 0/4] linux-user: Fix getdents alignment issues (#704) Date: Sun, 14 Nov 2021 11:35:35 +0100 Message-Id: <20211114103539.298686-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::431 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
linux-user: Fix getdents alignment issues (#704)
|
expand
|
Le 14/11/2021 à 11:35, Richard Henderson a écrit : > There are a number of alignement issues flagged up by clang, > this attempts to fix only one of them: getdents. > > Changes for v2: > * Do not QEMU_BUILD_BUG_ON for size mismatch, > as this triggers for i386 host. > > > r~ > > Richard Henderson (4): > linux-user: Split out do_getdents, do_getdents64 > linux-user: Always use flexible arrays for dirent d_name > linux-user: Fix member types of target_dirent64 > linux-user: Rewrite do_getdents, do_getdents64 > > linux-user/syscall_defs.h | 12 +- > linux-user/syscall.c | 314 +++++++++++++++++++------------------- > 2 files changed, 165 insertions(+), 161 deletions(-) > Applied to my linux-user-for-6.2 branch. Thanks, Laurent