From: William Dauchy <wdauchy@gmail.com>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Cc: Linux NFS mailing list <linux-nfs@vger.kernel.org>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: nfsv4 mount with noexec
Date: Mon, 3 Jun 2013 01:05:01 +0200 [thread overview]
Message-ID: <CAJ75kXaxWV4Dcydc8tjOYm4=R-soRrH+YhCoVKz_hgZnYcT-Ew@mail.gmail.com> (raw)
In-Reply-To: <1370206557.46256.12.camel@leira.trondhjem.org>
On Sun, Jun 2, 2013 at 10:56 PM, Myklebust, Trond
<Trond.Myklebust@netapp.com> wrote:
> The mount level flags such as 'nosuid', 'nodev' and 'noexec' are
> supposed to be enforced by the VFS, and not by the NFS code. The check
> is supposedly done in fs/exec.c:open_exec() after the file has been
> opened by the filesystem.
>
> Does 'cat /proc/mounts' actually show the noexec option being applied to
> the mountpoint by the kernel?
arg I mixed the original mount point and a binded mount point.
Sorry for the noise,
--
William
prev parent reply other threads:[~2013-06-02 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-01 11:33 nfsv4 mount with noexec William Dauchy
2013-06-02 20:56 ` Myklebust, Trond
2013-06-02 23:05 ` William Dauchy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ75kXaxWV4Dcydc8tjOYm4=R-soRrH+YhCoVKz_hgZnYcT-Ew@mail.gmail.com' \
--to=wdauchy@gmail.com \
--cc=Trond.Myklebust@netapp.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).