Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 28 Apr 2020 23:20:20 +0200
From: Florian Weimer <fw@...eb.enyo.de>
To: Jann Horn <jannh@...gle.com>
Cc: Mickaël Salaün <mic@...ikod.net>,  kernel list
 <linux-kernel@...r.kernel.org>,  Aleksa Sarai <cyphar@...har.com>,  Alexei
 Starovoitov <ast@...nel.org>,  Al Viro <viro@...iv.linux.org.uk>,  Andy
 Lutomirski <luto@...nel.org>,  Christian Heimes <christian@...hon.org>,
  Daniel Borkmann <daniel@...earbox.net>,  Deven Bowers
 <deven.desai@...ux.microsoft.com>,  Eric Chiang <ericchiang@...gle.com>,
    James Morris <jmorris@...ei.org>,  Jan Kara <jack@...e.cz>,  Jonathan
 Corbet <corbet@....net>,  Kees Cook <keescook@...omium.org>,  Matthew
 Garrett <mjg59@...gle.com>,  Matthew Wilcox <willy@...radead.org>,
  Michael Kerrisk <mtk.manpages@...il.com>,  Mickaël Salaün
 <mickael.salaun@....gouv.fr>,  Mimi Zohar <zohar@...ux.ibm.com>,  Philippe
 Trébuchet <philippe.trebuchet@....gouv.fr>,  Scott Shell
 <scottsh@...rosoft.com>,  Sean Christopherson
 <sean.j.christopherson@...el.com>,  Shuah Khan <shuah@...nel.org>,  Steve
 Dower <steve.dower@...hon.org>,  Steve Grubb <sgrubb@...hat.com>,  Thibaut
 Sautereau <thibaut.sautereau@....gouv.fr>,  Vincent Strubel
 <vincent.strubel@....gouv.fr>,  Kernel Hardening
 <kernel-hardening@...ts.openwall.com>,  Linux API
 <linux-api@...r.kernel.org>,  linux-security-module
 <linux-security-module@...r.kernel.org>,  linux-fsdevel
 <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH v3 0/5] Add support for RESOLVE_MAYEXEC

* Jann Horn:

> Just as a comment: You'd probably also have to use RESOLVE_MAYEXEC in
> the dynamic linker.

Absolutely.  In typical configurations, the kernel does not enforce
that executable mappings must be backed by files which are executable.
It's most obvious with using an explicit loader invocation to run
executables on noexec mounts.  RESOLVE_MAYEXEC is much more useful
than trying to reimplement the kernel permission checks (or what some
believe they should be) in userspace.

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.