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 lists1p.gnu.org (lists1p.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 C39A1C88E64 for ; Mon, 14 Sep 2026 07:28:49 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1x616x-0007iJ-JV; Mon, 14 Sep 2026 03:28:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1x616p-0007hV-Sr for qemu-devel@nongnu.org; Mon, 14 Sep 2026 03:28:12 -0400 Received: from mail-wm2-x10.google.com ([2a00:1450:4864:31::10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1x616g-0005up-Sn for qemu-devel@nongnu.org; Mon, 14 Sep 2026 03:28:07 -0400 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-49cd38e0e5dso20061505e9.2 for ; Mon, 14 Sep 2026 00:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1789370880; x=1789975680; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to:content-type; bh=9Wr4UUfsftFAZNsHonDpEGv8jW7RYY1Ix8R2b/9+YfU=; b=rMTCjY3gkpqEk6Lx4Ox7EKAPGwUb/Q3NBwKsdzOreOTu++4O6QLHi8N+lVLHHAB1UH xiQnA2TNUROGjYaOR8PU78YiWNyH9PlttiZGrJC8T5xWnQNQiDaropXBtI7cQqxAbLI4 LdncIM5snoVuzFwD57ot1pu0mVDR8Rz43Ad6FQgvW2N+HJ1TtmkoCCfOUuFannAEvhwF bTc/7YUGJcCHI44PrE6BJ5eiOE4tHNlWlC1NMPElpAIo3iRh8h/907yJrfT3oHFFSXJ4 y9olbi7xAznq/HEFNg+ORdOBbVYhK3qZsQw+LX092pt8ACMYT1BgHZHfV+5B2tdiXtU+ KtXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789370880; x=1789975680; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9Wr4UUfsftFAZNsHonDpEGv8jW7RYY1Ix8R2b/9+YfU=; b=F61M5mzNTZWRAKZ9ojNBbJsczwfMPWc6O+gm1v/sQ9fKBhmiKfFd1Q7VhVVh7XwZpN nadHCT+5lQQtZdW0yuc1hUzZdYC5WLF4eiYWaC6niIZ3rIzJWiR/mXK4EjzIODT1AZHN qqJIASJOcIVOcFcKKsC9tEpU5Yb9Xrs8zC2siRNYUgx3kVyRRXzJvK5VTBmaOaKEQYgW JharDT2o1sIHM3BQWOaSqeSmziE8Ihuf1wb7LMPoO8zZUdHt3UHwGaCH9jnXMEPaj20w dhNl84kpdcccF4J5M2ImYx/G/jZZtMzAOVOxTbytwGi/3/DeUQZIK6DPdB3T/xkkClIM 1Zug== X-Gm-Message-State: AFuF++kT8JL82r/4ptlMWkQ29PdTVr2KwnBu08n1hhSGYjM76K4FdG75 wxXunS4TzKFpga4GKlVFvktEmOkDNguvIL6FpSOhnDHYO+OfhF1/+HREwTIgUaB5tHA= X-Gm-Gg: AYBFou1XBXehMESDWxbXJiTTGOICAgIx9R4Z+jQYwNvwgwJE34CL1Kvch1lnzklCUYY I01XsL09k6itRxsAiNKNRc2vhiHuJ0pNIOl9m98MLjjWmfJBaaRa7Z+dsTEbV1E58KUlYIVIBXK uO3fEDHGlD+iG6VgMPkcedtxsyE8MZfaev3JWDcBu/5t+0V0333pWMsHkoLBzYv3jw4sjBKy7n/ WIujPqdTJUXUEr7rOqTS7q7dbZBvnkXFvp9Jx41QS8CuHlzoZ+WaGkPFYTCjDQDRmjfqlqAd4KU dyeqVyQ3fYSloqqgsV9OH+MF32zpW5/7jHVVd3uvMcocRnfnooGlE7ShB3pmLhNxLvyieNUcO3c Oq26hzAr1Dc+DdqCenWMy6u3ICrjdTGCsYJaRJl1oN5SKh8ki6/hvduWvJADeF5Mw8Ue9SOU0c4 sJ1qokqsISahMYr9mNQYZDRyoUmE0T16Hx0LUCXNWA2FmIwDA2BGMNjUybyqRVwUBw7BwAFKhBY 03LPXqeSA== X-Received: by 2002:a05:600c:4e02:b0:49d:272d:74b4 with SMTP id 5b1f17b1804b1-49e7a6387bcmr32632785e9.2.1789370879713; Mon, 14 Sep 2026 00:27:59 -0700 (PDT) Received: from draig.lan ([185.124.0.156]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49e7723d458sm92075965e9.0.2026.09.14.00.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 00:27:58 -0700 (PDT) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 959A45F920; Mon, 14 Sep 2026 08:27:57 +0100 (BST) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Pierrick Bouvier Cc: qemu-devel@nongnu.org, Brad Smith , Jiaxun Yang , Song Gao , Warner Losh , Daniel P. =?utf-8?Q?Berrang=C3=A9?= , Peter Maydell , Cornelia Huck , Fabiano Rosas , John Snow , Paolo Bonzini , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Thomas Huth , Brian Cain , qemu-arm@nongnu.org, =?utf-8?Q?Marc-Andr?= =?utf-8?Q?=C3=A9?= Lureau , Kyle Evans , Richard Henderson , Cleber Rosa Subject: Re: [PATCH 4/9] tests/tcg: use --add-current-user when building containers In-Reply-To: <78b4bda8-02cc-40b3-b9aa-137069a54811@oss.qualcomm.com> (Pierrick Bouvier's message of "Sun, 13 Sep 2026 22:15:12 -0700") References: <20260910181504.1010916-1-alex.bennee@linaro.org> <20260910181504.1010916-5-alex.bennee@linaro.org> <78b4bda8-02cc-40b3-b9aa-137069a54811@oss.qualcomm.com> User-Agent: mu4e 1.14.4-pre2; emacs 30.1 Date: Mon, 14 Sep 2026 08:27:57 +0100 Message-ID: <87wlso1ede.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:31::10; envelope-from=alex.bennee@linaro.org; helo=mail-wm2-x10.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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 development 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-bounces+qemu-devel=archiver.kernel.org@nongnu.org Pierrick Bouvier writes: > On 9/10/26 11:14 AM, Alex Benn=C3=A9e wrote: >> As the meson tcg build routes the container builds through docker.py >> we can also clean up its hack which involved appending a RUN line to >> the dockerfile. All the dockerfiles that care will work with the >> --build-arg. >> Signed-off-by: Alex Benn=C3=A9e >> --- >> tests/docker/docker.py | 13 ++++++------- >> tests/tcg/meson.build | 3 ++- >> 2 files changed, 8 insertions(+), 8 deletions(-) >>=20 > > I'm not sure why this was added in the first place. > Technically, running the container with a specific uid (whether or not > a user is declared for it) is enough. The only errors you can have is > if some specific commands ran expect to check if user exist on the > machine, like sudo for instance. > For our need (cross compilation), it's not needed, as a compiler will > never check who is $USER. Files written will still have the correct > uid on host fs anyway. That's why you do the mapping. Before I was seeing a whole bunch of the test files with a random group ownership. > > Do you have more info on this? > > Regards, > Pierrick --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro