From nobody Tue Nov 4 18:54:04 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530637202291942.7754791514042; Tue, 3 Jul 2018 10:00:02 -0700 (PDT) Received: from localhost ([::1]:41777 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faOee-00056C-Kh for importer@patchew.org; Tue, 03 Jul 2018 12:59:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faOG6-0007VK-W8 for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faOG3-0005Iw-2L for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:30 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:46828) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faOG2-0005IN-O0 for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:26 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MZyjz-1fq8eg3Qb9-00LpF2; Tue, 03 Jul 2018 18:34:14 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 3 Jul 2018 18:34:46 +0200 Message-Id: <20180703163451.16936-3-laurent@vivier.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703163451.16936-1-laurent@vivier.eu> References: <20180703163451.16936-1-laurent@vivier.eu> X-Provags-ID: V03:K1:NYL1GO2FIlWf+YHSddZ1O5OZwg+GFbixXcVhYXp5fExkSXNT51d Yv3NCg0Z5AfJGhs8e/fUsdwO2HAux5Pr64ZBJnL/ZWqStV3O9JMWAjkiEbBwR8TRfRPYUNi fPwH91SkHhuLr0IonGlI1roejakJvKOxAofNV1sIu7y9b9PkthNdGe4cAbBhQ4xBxfg3mkW Siy97Tysdc8Yc9GrvD/wg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Hali3t45TlQ=:pXQZ0LWPweq2r3RaVAx5+H A9nCHKuyfK8PFvKTym4HU//3j6cOQ2lIwo4hMlKz7SAD0g2wDLI2mf2liN+pzALJiHYA7o9gE rKgw12WIjcKZytyVK20XjfacKiZqqP+3BELRYugnAeRrO6enVF7Wzea8vyXkVv+64el6tJ5i+ vlloRLS93iX/RyEfiP5t/sPXgs325d5fKr5Rpcz0jcu9IgWY2eIwfiuA3qFJMu9tLyG/OJvyQ kLHag+pZvIhHyvO/bTzJXyrDZsh6cHrdSeHSCVppqJFLDnH8Wsx1GImKirA6h7SUuQgrkhQOp 2zN5aAe1DetWSo8a5MWHqb1UA+Z4Ub4A9ocKBTkpeXdXQwp0NhenT95FofJ6h+zIlPVQIGW6q ApBUpOqvhS8SfoK6ADBfBi4cS+CXSM+NfYEhBhSq82q/3svvHb3pg5raaTOpN9Rdi6y4K0qoQ lS6nrNVZqWF6H2msM3kOiIkQ5F6NaEeQ5pYcdb7Bps+Pl2Nei2KKJ0gKlAnjTUEaoSQ3l4bHj 1Jik8jPDXZlCYuL2UyH7Wvse24GRezb/oosaWEo9p8NHYkCPjwsqRml6EzLp+5EyggaXr40TS jd04YtaIMXwa937fR20UC/xIfyE7wxiBRPVLwZdBqTRH1smTM2L5dnuby8js3we4kp+87GvWv kgCc0UjJX4i7c7NP74MDOEvqOfYgcBtlgY1n3GXG/33kr2cbTQWgA938qXwsxZBYeg84= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.134 Subject: [Qemu-devel] [PULL 2/7] qemu-binfmt-conf.sh: add persistent (F) flags X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Since kernel commit 948b701a607f (binfmt_misc: add persistent opened binary handler for containers) kernel allows to load the interpreter at the configuration time. In case of chroot, it allows to have the interpreter in the host root filesystem and not to copy it to the chroot filesystem. Signed-off-by: Laurent Vivier Message-Id: <20180627205317.10343-3-laurent@vivier.eu> --- scripts/qemu-binfmt-conf.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 9900554608..00c9c3aa16 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -161,6 +161,7 @@ usage() { cat <