Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 29 Jun 2017 21:28:11 +0200
From: Salvatore Mesoraca <>
To: Kees Cook <>
Cc: LKML <>, 
	linux-security-module <>, 
	"" <>, 
	Brad Spengler <>, PaX Team <>, 
	Casey Schaufler <>, James Morris <>, 
	"Serge E. Hallyn" <>, Linux-MM <>, "" <>, 
	Jann Horn <>, Christoph Hellwig <>, 
	Thomas Gleixner <>, Stephen Smalley <>, 
	John Johansen <>
Subject: Re: [RFC v2 3/9] Creation of "check_vmflags" LSM hook

2017-06-28 1:05 GMT+02:00 Kees Cook <>:
> On Thu, Jun 15, 2017 at 9:42 AM, Salvatore Mesoraca
> <> wrote:
>> Creation of a new LSM hook to check if a given configuration of vmflags,
>> for a new memory allocation request, should be allowed or not.
>> It's placed in "do_mmap", "do_brk_flags" and "__install_special_mapping".
> I like this. I think this is something the other LSMs should be
> checking too. (Though I wonder if it would be helpful to include the
> VMA in the hook, though it does exist yet, so... hmm.)

For the particular case of my LSM and the type of check it does, the VMA
isn't needed, of course.
Maybe some other LSM can benefit from it, but it depends on what they
want to do with this hook.
Looking forward to feedback from potential future users.
Thank you for your interest.


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.