Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4023752yba; Sun, 12 May 2019 03:19:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+TfGjRPj6c6sHXlNHHMv4y6UDgGUE2zydcFJaEP5PNuDkb6dSgfTWHgJkYRo8MDB/yH9o X-Received: by 2002:a62:7995:: with SMTP id u143mr26629189pfc.61.1557656398670; Sun, 12 May 2019 03:19:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557656398; cv=none; d=google.com; s=arc-20160816; b=GkfWt6Yk7eLpohIyuoNH9XKhBWInK00rKJcsGerfUC+2yywDsiyhfO9iOVoaFUnE87 XnSpnfdqZIwA8hV6SxhtXlML9aUgT2nQOjPYIryIBL1yW/5819ogJDGZyVdj7Vf3svyP irHfmzaFrR7bsH/bY2bfL57+/EKf/oZZVdh0MPIqQS0Kw0tXZre11y7Fgfx8m9o9//o6 2FKvuHRdi61tkZhtOMo1nYQfRNHmudQNf3UAG40rqxmCd6zp4eV2N9uXenKbBpk5QP+7 VkYujpuKF+PlywVw2lGDnTRA8+GwKhDfba79esfUwdckohlUoGiw6wt1eU0ZzWmPG/VF DR/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=Sy4FTuOUSedIkErrZ5lDW71XRGPcUXqj45OdYbBsoqY=; b=Mlh81oFTJrqCmscew+gsMx63fOeUAITn27rT4N3VCN0u/nPyz42uOik1SWN4ACcf2w UWw4MQGXfKD+JHkpOcJJyEfAals5iUMX7KZE5BB9A1+USECJdSZ0gyhmPZfp25Dhgjzv D4pJc/8LYMyHsgG3Lk6hvXxTQIIWYpPy+dZMyziVnzO6dhbfh/++xeRA9mGD2Y4wGdN9 1AmijZW5qABhKng+dt3osSpkRokedShvpLK92Eitzm6cIl7K5Bg15spxqg3nGrwvN8+l dtDvMeATGineW+/qTGc6zLiXQ3AFWziwktqg6DYW4lli2KdbJzhXDZZjFBZvCvQfG60g crIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2019041745 header.b=oImKz1LN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si13114871pge.306.2019.05.12.03.19.42; Sun, 12 May 2019 03:19:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2019041745 header.b=oImKz1LN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbfELKSm (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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