Received: by 10.223.176.46 with SMTP id f43csp1166731wra; Fri, 26 Jan 2018 13:03:36 -0800 (PST) X-Google-Smtp-Source: AH8x224/Gt6k7WnFx8aayKRvyf3X1POzp1DsKNQDXYbmdTf71VZYVfBnRzqumdF4kRm2i7UxTCKt X-Received: by 10.99.186.87 with SMTP id l23mr16003721pgu.83.1517000616130; Fri, 26 Jan 2018 13:03:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517000616; cv=none; d=google.com; s=arc-20160816; b=WPMeyhJChVL2Icb7kz/Ufb331vCePsqyYnWsgnBFUthk996uHRk1xIewgZFng1r8Op /6rTotKOuNy4dglJuYurvUZcA+C0XzYYY+K3eEqR7SP5xZPO1z98X+Vhsn66y3xmAHoR lmZG2AGuAKdlxqR1OkiiXKNmuZYLj75GK4dM24Gv8SfqsgUrtSzewddxKtCfBrDjXQVV gIcZwjARsIfB7ErnEuMS1as9D7TfeCmvCDbRcskKawsuXKxvS7O89WanYbanUqhzodLX u6DMxidKktqXXmw6RZT5a68Vri6MwnoLdOIxhsP43Gr264V3GVt07AV08RU6y3fABSkq lBlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=ESHodDqBmsGQ95lQvZv6Tfq6pojEyvvQzavh56qz16Y=; b=nkSmxHwQn+pfI7i/GdqXHHG3lhH2Nu1E7b3FsoWKS159bY1QLHANgNGLv7lyaFbFg2 PCJs0wS2h+7kJij48NJHmjLTOukJmSJDGNvQQ895Mo6c5hmF4SMEnEAqCLb33Y6AjztE F8rsWNcdi8WE/27zywdn+bce672PK70q1FmkJQfZ1XGHndZ3R4UDHTAdXRUtLz/Y6Em1 yYqKU/CAIvUSbcvww9T3Dfe842Aupu9X3S1z8JyUqYvI/jMiY2bVrw9Me38mcn57MFWb SXe5fh2mMK4TgOW38oPUYo2GxerCkMwtXsJX8s77O1rJ+iY1xjvsbq4w3OPjCAjTQC37 f+Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=jZwLGG04; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cisco.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si3459545pgc.656.2018.01.26.13.03.21; Fri, 26 Jan 2018 13:03:36 -0800 (PST) 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=pass header.i=@cisco.com header.s=iport header.b=jZwLGG04; 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=pass (p=NONE sp=NONE dis=NONE) header.from=cisco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752069AbeAZVDA (ORCPT + 99 others); Fri, 26 Jan 2018 16:03:00 -0500 Received: from rcdn-iport-7.cisco.com ([173.37.86.78]:49744 "EHLO rcdn-iport-7.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbeAZVC6 (ORCPT ); Fri, 26 Jan 2018 16:02:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1263; q=dns/txt; s=iport; t=1517000578; x=1518210178; h=mime-version:content-transfer-encoding:to:from: in-reply-to:cc:references:message-id:subject:date; bh=5MaXy0cM5Z+btdzDubm4TMsHYZXiagofTuKPz8EQ2LU=; b=jZwLGG04HgQNZAT6mxIdiI77/bLeW0fJX/lXrK8oGUOW+lRcub18+jXX FnmM8eTvZl20Nx0R6Lpi6hRxgRSLx8In1w+KzW5Jg9vEdJStqNYZy8ZP9 38yBDX3Myuf8LYcpRMA8lfMUaELWwpeKD3Gc7MSQchrkYmLIEVSMXv6vR I=; X-IronPort-AV: E=Sophos;i="5.46,418,1511827200"; d="scan'208";a="346497617" Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jan 2018 21:02:57 +0000 Received: from localhost ([10.156.154.35]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id w0QL2u1M028623; Fri, 26 Jan 2018 21:02:57 GMT Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "H. Peter Anvin" , Al Viro , Arnd Bergmann , James McMechan , Jonathan Corbet , Mimi Zohar , Rob Landley From: Taras Kondratiuk In-Reply-To: Cc: initramfs@vger.kernel.org, Victor Kamensky , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, xe-linux-external@cisco.com References: <1516850875-25066-1-git-send-email-takondra@cisco.com> <1516850875-25066-2-git-send-email-takondra@cisco.com> Message-ID: <151700057225.21956.4502484965110175077@takondra-t460s> User-Agent: alot/0.6 Subject: Re: [PATCH v2 01/15] Documentation: add newcx initramfs format description Date: Fri, 26 Jan 2018 13:02:52 -0800 X-Auto-Response-Suppress: DR, OOF, AutoReply Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Rob Landley (2018-01-25 18:40:54) > On 01/24/2018 09:27 PM, Taras Kondratiuk wrote: > > diff --git a/Documentation/early-userspace/buffer-format.txt b/Document= ation/early-userspace/buffer-format.txt > > index e1fd7f9dad16..d818df4f72dc 100644 > > --- a/Documentation/early-userspace/buffer-format.txt > > +++ b/Documentation/early-userspace/buffer-format.txt > = > > +compressed and/or uncompressed cpio archives; arbitrary amounts > > +zero bytes (for padding) can be added between members. > = > Missing "of" between amounts and zero. (Yeah it was in the original, but > if you're touching it anyway...) > = > > +c_xattrs_size 8 bytes Size of xattrs field > > + > > +Most of the fields match cpio_newc_header except c_mtime that contains > > +microseconds. c_chksum field is dropped. > > + > > +xattr_size is a total size of xattr_entry including 8 bytes of > > +xattr_size. xattr_size has the same hexadecimal ASCII encoding as other > > +fields of cpio header. > = > xattrs_size or xattr_size? > = > Total nitpicks, I know. :) xattr_size here refers to size of each xattr_entry: xattr_entry :=3D xattr_size[8] + xattr_name + "\0" + xattr_value I'll move this paragraph closer to that line.