Received: by 10.223.176.5 with SMTP id f5csp955017wra; Fri, 2 Feb 2018 08:48:27 -0800 (PST) X-Google-Smtp-Source: AH8x227FnhBHEMOK3SVydtsl9dV3/OP/jSd6IQDsL+yD3AX9dSfm7RplGsj3wubBOKQe+0BXD06g X-Received: by 10.98.150.213 with SMTP id s82mr41163277pfk.10.1517590107462; Fri, 02 Feb 2018 08:48:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517590107; cv=none; d=google.com; s=arc-20160816; b=tvtarnQIz+9ZwdxDAekHEg0I6W6wZpAbIxcfUkzKNRMTwH4etUjdSrwh4wjnygOBF9 W6jrcQI9rW5xdnEBlzl/2YpUST/c2AWd5znExe2LlPkeVZ6bvoWximqBeS4WorSag850 9dBRSvHVSllGqJD3w6uEYyZc9x+ZBxmyMxwvHP2izI5lL6SseQDSglMM/yz20px+638W 4yKUHh6foPuqdqXhqPCKMGlRrWytNpFDbIcuGz5p3SB3mDDvPG/HaQBsMfzW123MB3mY E5xHmymzT8Du4u08pxvGUD5/u1Ssn+wW7JbyesuTvEGjqa5n30a+az4GfLqr8adGwLxq zuRw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=iwQQUfTj8nFon1vZkAmIne151CjlR69D69LYIrEghHE=; b=DjtspAMvI2P9j5O0xPgS9uUb4UyoVnmynL6E0k5oBhDTw2tXdI7+dB9PM1aWFNncIl xC6ao74CWBwKlBN7ezlaB7VVma1rXLl8csgudbHtxPEh4KtUKJcCPCL0GUoP/GhyfN6p 0NEhMOLsGIPY10qT9Pcdzyr8Jd0JEI8fQWrn5TAdzrD0fYl7PepqetjiNr99iUKDIyVT FostLSldXn0DbrLsARhcWexxoA8uKX9ScJKCcAwzvbY0V/BlbFzBeF0mnxhvzYtsHMxu lxXqBTD70NOInPCBjZjcbVkAAGdTVvlph9hSyi2sfalwUqM4PT+0mjm5Fa4VpXtuhS7u scKA== ARC-Authentication-Results: i=1; mx.google.com; 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 q20-v6si2071476pll.300.2018.02.02.08.48.12; Fri, 02 Feb 2018 08:48:27 -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; 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 S1752326AbeBBQqT (ORCPT + 99 others); Fri, 2 Feb 2018 11:46:19 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:24881 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751718AbeBBQqN (ORCPT ); Fri, 2 Feb 2018 11:46:13 -0500 Received: from LHREML714-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id D58E7CB7FFAA2; Fri, 2 Feb 2018 16:01:33 +0000 (GMT) Received: from [10.122.225.51] (10.122.225.51) by smtpsuk.huawei.com (10.201.108.37) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 2 Feb 2018 16:01:32 +0000 Subject: Re: [PATCH 3/6] struct page: add field for vm_struct To: Kees Cook CC: Christopher Lameter , , Michal Hocko , Laura Abbott , Christoph Hellwig , Matthew Wilcox , linux-security-module , Linux-MM , LKML , References: <20180130151446.24698-1-igor.stoppa@huawei.com> <20180130151446.24698-4-igor.stoppa@huawei.com> <48fde114-d063-cfbf-e1b6-262411fcd963@huawei.com> From: Igor Stoppa Message-ID: <938d71a3-323a-1af3-3815-cd5e1b9813c9@huawei.com> Date: Fri, 2 Feb 2018 18:01:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.122.225.51] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/02/18 23:11, Kees Cook wrote: > IIUC, he means PageHead(), which is also hard to grep for, since it is > a constructed name, via Page##uname in include/linux/page-flags.h: > > __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) Thank you, I'll try to provide a meaningful reply soon, but I'll be AFK during most of next 2 weeks, so it might be delayed :-( -- igor