|
Message-ID: <20190220161412.GE3447@zn.tnic> Date: Wed, 20 Feb 2019 17:14:12 +0100 From: Borislav Petkov <bp@...en8.de> To: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com> Cc: "ard.biesheuvel@...aro.org" <ard.biesheuvel@...aro.org>, "will.deacon@....com" <will.deacon@....com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "peterz@...radead.org" <peterz@...radead.org>, "linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>, "Dock, Deneen T" <deneen.t.dock@...el.com>, "tglx@...utronix.de" <tglx@...utronix.de>, "linux-mm@...ck.org" <linux-mm@...ck.org>, "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>, "nadav.amit@...il.com" <nadav.amit@...il.com>, "linux-security-module@...r.kernel.org" <linux-security-module@...r.kernel.org>, "x86@...nel.org" <x86@...nel.org>, "akpm@...ux-foundation.org" <akpm@...ux-foundation.org>, "hpa@...or.com" <hpa@...or.com>, "kristen@...ux.intel.com" <kristen@...ux.intel.com>, "mingo@...hat.com" <mingo@...hat.com>, "linux_dti@...oud.com" <linux_dti@...oud.com>, "luto@...nel.org" <luto@...nel.org>, "kernel-hardening@...ts.openwall.com" <kernel-hardening@...ts.openwall.com> Subject: Re: [PATCH v2 15/20] vmalloc: New flags for safe vfree on special perms On Tue, Feb 19, 2019 at 07:42:53PM +0000, Edgecombe, Rick P wrote: > So to capture both of those intentions, maybe I'll slightly tweak your > suggestion to VM_FLUSH_RESET_PERMS? Yeah, sure, better. VM_HAS_SPECIAL_PERMS doesn't tell me what those special permissions are while flush and reset permissions makes a lot more sense, thx. > I had thought it was easier to read. If its not the case, I'll change it as you > suggest. My logic is, the less local vars, the easier to scan the code quickly. > Ard had expressed interest in having the set_alias_() functions for Arm, and the > names were chosen to be arch agnostic. He didn't explicitly commit but I was > under the impression he might create an implementation for ARM and we could > remove this block. Yeah, Will has those on his radar too so we should be good here. Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.