[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jJEWvBwuyFeNMgNQbXBop60kcGOgpYoWL+dmpZBPqjoCA@mail.gmail.com>
Date: Thu, 8 Mar 2012 14:14:29 -0800
From: Kees Cook <keescook@...omium.org>
To: Cyrill Gorcunov <gorcunov@...nvz.org>
Cc: Andy Lutomirski <luto@...capital.net>,
Oleg Nesterov <oleg@...hat.com>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Pavel Emelyanov <xemul@...allels.com>,
Tejun Heo <tj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Will Drewry <wad@...omium.org>
Subject: Re: [RFC] c/r: prctl: Add ability to set new mm_struct::exe_file v3
On Thu, Mar 8, 2012 at 2:12 PM, Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
> On Thu, Mar 08, 2012 at 02:03:13PM -0800, Kees Cook wrote:
>>
>> How about "file_is_exec" instead, since it doesn't (and likely
>> shouldn't) include the inode_permission(..., EXEC)? I'd like other
>> people's thoughts on this since maybe it's not needed and I instead
>> have accidentally derailed this patch with useless bike shedding.
>>
>
> Yup. Anyway, I'm leaving the former mm_struct::exe_file patch with
> EXEC test opencoded so we can do everything on top then.
Sounds good to me. Thanks for putting up with my distraction! :)
-Kees
--
Kees Cook
ChromeOS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists