Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp278977imm; Tue, 7 Aug 2018 18:52:58 -0700 (PDT) X-Google-Smtp-Source: AA+uWPz9SJFGkna+gMjQWkNrQS23dYp5NvJ5VjxEI0G2ZCbpnq9KJGo/T/YpkelD47DlV/Ha5feT X-Received: by 2002:a63:3685:: with SMTP id d127-v6mr635769pga.231.1533693178608; Tue, 07 Aug 2018 18:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533693178; cv=none; d=google.com; s=arc-20160816; b=QryTtjKrgisCSuNSkMSe3fIGFujfsxCB3rvkxTR53+lm4UlCdKsK/24mgerxkmjdUa dw6IourtgKV/TI9gyNyuThwd4g+JQa24y8Yb2SvDvM3XK7Ayi17z6DDL3bAMirO4+nG7 rwMjx7yjbCw9eIuwQ74MHGH3m2Vc7/F7sIG1nUxFQSlpNoi/gXK22nWvNUBwd2v13btp bmS2meeoZSFDg24EB0fjvykt7HKQHIJXf8iuNU0y+9ba4Q7TGNje7oKewFdjG3lWF0Yz KlSzRdog5CCmLI26bjXTYAeO4XOpSOUx0/XtBw7TME/E6drIonxQHi29mplwU1+NEQnB eAIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:arc-authentication-results; bh=LzdMcGR5SvuVH6o66ITqxtInVk2QU6s3qks0POEjSpE=; b=Rtrgx77Jzv9RUI/2ctsgadd4nqVulHlQQKXPMfzn1aYkJfJ+r8QRHhrpuvqzkIL0J+ aT1+/D4I3XqttPEJpKCpQZJCXPgE5S/YrZOEoMzYBtmZIf7jqvXQYuYRydj4mk6biyWa FrqwPvR66JtFCXKgE3i3TTrboLRDDwP5shRganu/CLtBK56Q3gb8n8Z35uLS37Dh6l8d rzXvniVR7/xpO2j+Z3tmFfWyaUep9wR7Bc9PfcQaEnaXvjImVFaN+9f1WPQzlv4avIdI SAatQPoIs07vwR/HTpAUVrS01tvSFi/urs6wBBlSHSbCgVXPMP0m9grh6XcqcnGdDqKS 3NgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=yS25NlU6; 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=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4-v6si2203480plb.400.2018.08.07.18.52.43; Tue, 07 Aug 2018 18:52: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=pass header.i=@zx2c4.com header.s=mail header.b=yS25NlU6; 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=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726990AbeHHEJH (ORCPT + 99 others); Wed, 8 Aug 2018 00:09:07 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:58105 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbeHHEJG (ORCPT ); Wed, 8 Aug 2018 00:09:06 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 0fc011b3; Wed, 8 Aug 2018 01:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type:content-transfer-encoding; s=mail; bh=2cJ40CHJ6Gve Xzdt2xoz0HuCdtI=; b=yS25NlU60x9/o4xbPCLVaNkv/3kClomsJE2o24MTOrNh ghMadQPvO2SVK6mSQGctWgcsB1bd/3D1pWH4MLNY1Y3Mru98OztK1NGxhaShRG8J M21DWgOpzZqZq27CZ+xtV0oQaYYenJvN1BItcB7+P9quep1vjEtdr6uHqpxSFyda ubFXKWTfRpJVlzxpXR55KCRm5ra2Q0k/iSADgXUyYKhMAJqev8FMezfETURwd25k +PYpPDNYaeLtSalcaYbSf5R90yG6daPwqkvW8wq8FQpjlovMktamUH3e3AKW+52m xNyyBRsy/S/BDMTXQenzEXEe0XvFKr+xCsuiktPTLQ== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id c976745b (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Wed, 8 Aug 2018 01:39:35 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id s198-v6so1025301oih.11; Tue, 07 Aug 2018 18:51:51 -0700 (PDT) X-Gm-Message-State: AOUpUlHurYDayuTyELjtmoezKWZy9jOAJ3SBCDDqa8KpC42yxi05z12b YKM8BKw3+hjXfPmcYLmJKa7Fm3N815MGvjFQ92s= X-Received: by 2002:aca:ceca:: with SMTP id e193-v6mr845795oig.37.1533693110940; Tue, 07 Aug 2018 18:51:50 -0700 (PDT) MIME-Version: 1.0 References: <20180801072246.GA15677@sol.localdomain> In-Reply-To: From: "Jason A. Donenfeld" Date: Tue, 7 Aug 2018 18:51:39 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/3] zinc: Introduce minimal cryptography library To: Andy Lutomirski Cc: Ingo Molnar , Thomas Gleixner , linux-arch@vger.kernel.org, Eric Biggers , Linux Crypto Mailing List , LKML , Netdev , David Miller , Andrew Lutomirski , Greg Kroah-Hartman , Samuel Neves , "Daniel J . Bernstein" , Tanja Lange , Jean-Philippe Aumasson , Karthikeyan Bhargavan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 7, 2018 at 6:49 PM Andy Lutomirski wrote: > I really wish we had a way to see that we use asm-generic=E2=80=99s copy = of a header in all cases except where an arch opts out. It's really not that hard to do -- symlink asm-generic to a target called "asm" inside an otherwise empty directory, and add that otherwise empty directory to the -I paths just after arch/include. Since it's searched second, it's only used if the first fails. Maybe I'm missing something though, as this seems a bit too obvious. Perhaps a project for another day.