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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCB32C04AB3 for ; Sun, 12 May 2019 10:18:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 86698216C4 for ; Sun, 12 May 2019 10:18:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="oImKz1LN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbfELKSm (ORCPT ); Sun, 12 May 2019 06:18:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:45009 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbfELKSm (ORCPT ); Sun, 12 May 2019 06:18:42 -0400 Received: from [IPv6:2601:646:8680:2bb1:80c8:8cb8:dd71:1e2e] ([IPv6:2601:646:8680:2bb1:80c8:8cb8:dd71:1e2e]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x4CAIN7l2991902 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 12 May 2019 03:18:24 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com x4CAIN7l2991902 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019041745; t=1557656306; bh=Sy4FTuOUSedIkErrZ5lDW71XRGPcUXqj45OdYbBsoqY=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=oImKz1LNFVMdrQxMMMNLKoqqQaVHc7Uv+sLqZpIK3Pm0CY+wCuE7fKdablrzkd94N WkffPQW3oiMcMefKNzH18l/Dg+JmFpXcrfIJNZ3IGvMnvkVZHmsQ8/ZGlVtQpbLhBe jh+p68S4gaKZ9Mrjy2ns5tiDv6u342eiv2k95evNdiNCRHs32SAuvcjTjixCpq+cQt w8tBfBWvV8jufKfqRP2VHsLZ27DeNHCtwmCjj+sTHf83JV7p4aPKkUDzcSgAxT9KjE j80F8tGt0xVmhCoQR5JNwkD8BqobjcASWIwhPgV32+tc5nd1bf4YfT0KhS/XF4RjmX 5wPYnlqZ7/k5w== Date: Sun, 12 May 2019 03:18:16 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <20190512091748.s6fvy2f5p2a2o6ja@isilmar-4.linta.de> References: <20190509112420.15671-1-roberto.sassu@huawei.com> <20190512091748.s6fvy2f5p2a2o6ja@isilmar-4.linta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk To: Dominik Brodowski , Roberto Sassu CC: viro@zeniv.linux.org.uk, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, zohar@linux.vnet.ibm.com, silviu.vlasceanu@huawei.com, dmitry.kasatkin@huawei.com, takondra@cisco.com, kamensky@cisco.com, arnd@arndb.de, rob@landley.net, james.w.mcmechan@gmail.com From: hpa@zytor.com Message-ID: <4E92753A-04BD-4018-A3A4-5E3E4242D8B9@zytor.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On May 12, 2019 2:17:48 AM PDT, Dominik Brodowski wrote: >On Thu, May 09, 2019 at 01:24:17PM +0200, Roberto Sassu wrote: >> This proposal consists in marshaling pathnames and xattrs in a file >called >> =2Exattr-list=2E They are unmarshaled by the CPIO parser after all file= s >have >> been extracted=2E > >Couldn't this parsing of the =2Exattr-list file and the setting of the >xattrs >be done equivalently by the initramfs' /init? Why is kernel involvement >actually required here? > >Thanks, > Dominik There are a lot of things that could/should be done that way=2E=2E=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E