From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392AbeAYVDA (ORCPT ); Thu, 25 Jan 2018 16:03:00 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:36198 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751354AbeAYVCx (ORCPT ); Thu, 25 Jan 2018 16:02:53 -0500 X-Google-Smtp-Source: AH8x225FMfA+fdq+2BE7j1bkkNQtrOLD54Pzz0fe1GLokhPOfEycAKwi1GrAvHs67F7Mzy+xJjvYjYvBQBPVb+OLXvs= MIME-Version: 1.0 In-Reply-To: <151691200536.5378.11544479301138437367@takondra-t460s> References: <1516850875-25066-1-git-send-email-takondra@cisco.com> <1516850875-25066-2-git-send-email-takondra@cisco.com> <151691200536.5378.11544479301138437367@takondra-t460s> From: Arnd Bergmann Date: Thu, 25 Jan 2018 22:02:49 +0100 X-Google-Sender-Auth: vchKqQQUqVRwJpSkd9VJuOJ_W8E Message-ID: Subject: Re: [PATCH v2 01/15] Documentation: add newcx initramfs format description To: Taras Kondratiuk Cc: "H. Peter Anvin" , Al Viro , Rob Landley , Mimi Zohar , Jonathan Corbet , James McMechan , initramfs@vger.kernel.org, Victor Kamensky , linux-doc@vger.kernel.org, Linux Kernel Mailing List , LSM List , xe-linux-external@cisco.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 25, 2018 at 9:26 PM, Taras Kondratiuk wrote: > Quoting Arnd Bergmann (2018-01-25 01:29:12) >> On Thu, Jan 25, 2018 at 4:27 AM, Taras Kondratiuk wrote: > > We can match statx(2) by having 64 bits for seconds plus 32 bits for > nanoseconds. Ok. > For initramfs nanoseconds field can be ignored during > unpacking. That sounds like a pointless microoptimization. Most likely we won't ever need the nanoseconds in the initramfs, but it's trivial to just copy them into the right field, and not adding that one source line would probably involve adding a one-line source comment to explain the omission ;-) Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 25 Jan 2018 22:02:49 +0100 Subject: [PATCH v2 01/15] Documentation: add newcx initramfs format description In-Reply-To: <151691200536.5378.11544479301138437367@takondra-t460s> References: <1516850875-25066-1-git-send-email-takondra@cisco.com> <1516850875-25066-2-git-send-email-takondra@cisco.com> <151691200536.5378.11544479301138437367@takondra-t460s> Message-ID: To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Thu, Jan 25, 2018 at 9:26 PM, Taras Kondratiuk wrote: > Quoting Arnd Bergmann (2018-01-25 01:29:12) >> On Thu, Jan 25, 2018 at 4:27 AM, Taras Kondratiuk wrote: > > We can match statx(2) by having 64 bits for seconds plus 32 bits for > nanoseconds. Ok. > For initramfs nanoseconds field can be ignored during > unpacking. That sounds like a pointless microoptimization. Most likely we won't ever need the nanoseconds in the initramfs, but it's trivial to just copy them into the right field, and not adding that one source line would probably involve adding a one-line source comment to explain the omission ;-) Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html