Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4891089pjb; Mon, 27 Jul 2020 07:43:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhqcG6bK8XA4f8hD0bbIEfPyOzveAKhHTkTIwvzrtcJawQNsPO/xPtseZ8j1qzPK+bq0O2 X-Received: by 2002:a17:906:c459:: with SMTP id ck25mr22386894ejb.177.1595861008054; Mon, 27 Jul 2020 07:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595861008; cv=none; d=google.com; s=arc-20160816; b=Gbw9Ee+2jkzZROFoaomrVdPgeL7M/LVxSsRDXOT/apMrMMc8VfxSo7y5zXCx1Z6RqR eBTEv7s+YFYXksYYKB8OoDsGXF6p0SEOb/v5nRmzXBbrVekaG1Tngb5mf3kxISNGjWzk 042lPIG5rO6TqcaI+aH0xWOiw/3aznf5YMaaRMbLRFPViMlQT2B3KFZ03hL5/5VwFUfN NQtRTOZQEYfFB6gMvwQwP9CXD2ea71iMbOJDdTZRgL7EV0sLfqMUDI0oF/fenfE2l58L U4F4gm/8V7YlSfwjuO2tW+9MGK/TP2PKcnZvSdZZ1pZSNPGpbOW0l+riJ+tueLNwXgQl 56mA== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=B1cexWz2tKReIkJ5E34bDG65tgACv+R+OCCUVFexy84=; b=Mb5dPxmbwWdNmiCHP5DAsgYQJst+hTrEhg86F+OJSU5WWZGMxXgYST6SAw1DcF4dsA AnzHYzl+Db/ZVO7fPl7ex4pOm9QbGqVUKga5E4/S7N13xtDmDQtvZvvV0hmDNVPLlox7 AqvSKYnKjnofGteafeS5ZOlDoAIgd/gJueEW7FdEE3OLTXC3cbPykmdTvxUB418c2sop 4KV/ZQZYvZZ5tpnekSmnVvPteaIdAiod/bTRGVCAryFZWjZNYGaobi3AFELsKxTeoE2p 0GOZBpxsdH2x+81JeRupe49L6XzWbAb3pBsnrQO0OgKq0RtGYJM0c4AnBB4AsNnjrpcb hVhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="jpg/EmyQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si5620306ejx.555.2020.07.27.07.43.05; Mon, 27 Jul 2020 07:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="jpg/EmyQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733117AbgG0OmD (ORCPT + 99 others); Mon, 27 Jul 2020 10:42:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:40810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729320AbgG0Olw (ORCPT ); Mon, 27 Jul 2020 10:41:52 -0400 Received: from localhost.localdomain (pool-96-246-152-186.nycmny.fios.verizon.net [96.246.152.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2FB70208E4; Mon, 27 Jul 2020 14:41:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595860912; bh=0XkNZGMfPjvvPJ4vDl6luNql4PL5ypWVUV/Rm+mizsE=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=jpg/EmyQDv9FT7kOivKMX8wFhGU4sFTB2CH3Fh4EZTjsJsvFBn7m7pngU0GoPyW+3 39SrDAlP4E+C6K+8ut68HKiV0e/CnGbZncwAxpQzwd+vVR2JJIvbvJk/g27MBtu9Ku qK+mrjkQ3I6tKw3z/+lX1qAQaaqCDbWrPRjvxXS0= Message-ID: <1595860910.4841.118.camel@kernel.org> Subject: Re: [PATCH v3 06/19] fs/kernel_read_file: Split into separate include file From: Mimi Zohar To: Kees Cook , Greg Kroah-Hartman Cc: Scott Branden , Christoph Hellwig , Luis Chamberlain , Jessica Yu , SeongJae Park , KP Singh , linux-efi@vger.kernel.org, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 27 Jul 2020 10:41:50 -0400 In-Reply-To: <20200724213640.389191-7-keescook@chromium.org> References: <20200724213640.389191-1-keescook@chromium.org> <20200724213640.389191-7-keescook@chromium.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-07-24 at 14:36 -0700, Kees Cook wrote: > From: Scott Branden > > Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h > include file. That header gets pulled in just about everywhere > and doesn't really need functions not related to the general fs interface. > > Suggested-by: Christoph Hellwig > Signed-off-by: Scott Branden > Reviewed-by: Christoph Hellwig > Acked-by: Greg Kroah-Hartman > Link: https://lore.kernel.org/r/20200706232309.12010-2-scott.branden@broadcom.com > Signed-off-by: Kees Cook Reviewed-by: Mimi Zohar