Received: by 10.223.185.116 with SMTP id b49csp2228327wrg; Thu, 22 Feb 2018 10:07:16 -0800 (PST) X-Google-Smtp-Source: AH8x225FBdaBjXkusjVydP0KIbs9R+APsNiHZdfWz6AjXRo5QTGDr5+9DaPDVxYZOiRGm0zVQgy1 X-Received: by 10.98.150.212 with SMTP id s81mr4607871pfk.100.1519322836094; Thu, 22 Feb 2018 10:07:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519322836; cv=none; d=google.com; s=arc-20160816; b=KJim8GH8XOkdJnnJd8CW1hHwKyTPR3ytrG064Cvi1/wVpp+xTKMuwEdNI8Ph0pzBkN 51z9/3PalfGw0jtxYjCfbPUwJQSb6W1/ipoBdJYdiiMBnfbtxWc/zwW/YpSDfkM4Vbqd fMXH8E95IliPA8V8suOcbUyTD96HWS6n8K5MY3SC8wC60dvhVqpNrbBAG+QK2klcHpXI rDF9QfM4UDoZJy8tzFrCvr08hvAXhNY+0j+T/Lms38OycpB6hmxT1OBcZehDJiQ45TNp Kkfq3xvkrOq1HDzMtIKU6tUnnOxJU8jWYVVgEikdwSM776UvF/V2Dl7Ri1w98zLE3YDE 99mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ipTEmOoK4us0jRHcx4Y5kn99ECZGBW1e+ZT+6RS2Vm0=; b=EcGWvqb0PjMyUuMOQedLdWlnSTiG7e9aV32VQd4VIeTjxxTh2QPK22uhVi/MurZZ7u TuTTf4IEZ4imjxkzlMd1godJFKUYYdmStX+pqlzWBET8RffvWHjNHNR9pyvnmoxn81W+ DHEyjJjOY3Hx4kj2V2OQWMWTXFpSdPUTAv/vP/XBjKdb0OemmJLUUcJX5YUjZ0pnOb3h 02wMcCJK2KgSorBJPkdPpcKPm7tyctXdgawc9DCVNKK+LH5QffmVn67eNA1KnuoI8S3e SI45cjw2vJCAryt2lUE1ADdE1QpYMpeAv6+6h5UZ87cfswGujerGcRQi+RJreFmzFqMS BDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qEF1ikLT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6-v6si377509plt.339.2018.02.22.10.07.00; Thu, 22 Feb 2018 10:07:16 -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=fail header.i=@gmail.com header.s=20161025 header.b=qEF1ikLT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933648AbeBVSEz (ORCPT + 99 others); Thu, 22 Feb 2018 13:04:55 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:36535 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933516AbeBVSEx (ORCPT ); Thu, 22 Feb 2018 13:04:53 -0500 Received: by mail-it0-f66.google.com with SMTP id u5so49255itc.1 for ; Thu, 22 Feb 2018 10:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ipTEmOoK4us0jRHcx4Y5kn99ECZGBW1e+ZT+6RS2Vm0=; b=qEF1ikLTSql0F2RO016q+xYP+/ld0OmrjItSlcIfBdNA2x8Sr2C0gVEKa+VS779fzV 171vajWFMuh05+JAEfWQ3hyf7CBCF91m4VB3Ucj1fvn7vsqEpyfg19YgJW9PwiKIpZpx 6nALa3lQaHz8vqku3SM6rsz1cBt9oDt2gtgDgDoFQlLvjX4aY4gb309dhdv9QE7OF8uA za2G5PfV7sncJQEIdJpU5Y//w2YXUejxUQ9lTsDMShD2Rf0nCd0pv+yRQ/gxE9rf3seP lOFJayIQYswlLddfg32YsE6JxEM//MYO5NFw935qn/Kx4Hx0yvrcUU3UywGgMVFRnWMb Z+/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=ipTEmOoK4us0jRHcx4Y5kn99ECZGBW1e+ZT+6RS2Vm0=; b=Kakp4YczHHD6IPBSk2Oj9E0URIkxm7JTIAzjm9Gk3CrCZWovXkAHQB9u6syNuIZq/i kS1rPbDuYV3wKUOVOlDb//azCn1JoD+W1npBaEws6BbopU5jwm9l5xQ8X38ou38J3Ci0 wtvldpVEc1eMRmUkIC45lGWSUoXdEGfV41UYWxId+wZj5x7O7woLz8DkDrRL8SHy0xZN dIvbaQEup2gTBd7kfAWC+eK2ugpxb5AT6TxiJF65eW0OJqSfG/YjOh8jOAWIh7/Oh17a NVyZEmjAtFP0UOdS+yLnN9Mn650i7/hjGSUHy82GrdNlgpeo/li4/ssPV9zbCcaZLNny SMbg== X-Gm-Message-State: APf1xPDt8jdty7JsJdO+ep6Vc9yrw+q6cA85G4ygcK7S+LNgpYuV7m9m xT7yx1SMn/2jXmNVtvrhqok1WNHAJhzqpVQ9AO4= X-Received: by 10.36.222.2 with SMTP id d2mr59948itg.1.1519322693149; Thu, 22 Feb 2018 10:04:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Thu, 22 Feb 2018 10:04:52 -0800 (PST) In-Reply-To: <20180222174140.GA3154@beast> References: <20180222174140.GA3154@beast> From: Linus Torvalds Date: Thu, 22 Feb 2018 10:04:52 -0800 X-Google-Sender-Auth: Pwuz0dsKas8WpvE0c3hri21dMAQ Message-ID: Subject: Re: [PATCH v3] kconfig.h: Include compiler types to avoid missed struct attributes To: Kees Cook Cc: Patrick McLean , "Maciej S. Szmigiero" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 9:41 AM, Kees Cook wrote: > > Updated to include Tested-by. Linus, this looks ready to go. Ok, applied. I'm a bit worried that this ends up bypassing our automatic dependency generation. Lookie here (in a fully built tree): find . -name '*.o.cmd' | xargs grep -L linux/compiler_types.h | xargs grep -l linux/kconfig.h | while read i; do j=$(echo $i | sed 's/\.o.cmd$/\.c/' | sed 's:/\.:/:'); test -f $j && echo $j; done shows that a number of files don't end up depending on that header file, even though it's included (that "grep -l linux/kconfig,h" triggers on the command itself having that "-include linux/kconfig.h" line). It looks like "gcc -M" just doesn't list any files that get included on the command line with "-include". Now, there are very *few* files that don't end up eventually including linux/compiler_types.h _some_ way, and I checked them all, and they really are so trivial that this doesn't matter. But it worries me a bit regardless. Linus