From: Christian Brauner <brauner@kernel.org>
To: linux-fsdevel@vger.kernel.org
Cc: Christoph Hellwig <hch@lst.de>, Al Viro <viro@zeniv.linux.org.uk>,
Mattias Nissler <mnissler@chromium.org>,
Aleksa Sarai <cyphar@cyphar.com>,
Ross Zwisler <zwisler@google.com>,
Christian Brauner <christian.brauner@ubuntu.com>
Subject: [PATCH 0/2] mount: add "nosymfollow" support to new mount api
Date: Tue, 1 Jun 2021 15:55:13 +0200 [thread overview]
Message-ID: <20210601135515.126639-1-brauner@kernel.org> (raw)
From: Christian Brauner <christian.brauner@ubuntu.com>
Hey,
When we introduced "nosymfollow" we didn't add support for it to the new
mount api. Fix that so users making use of the new mount api can
specifiy it in fsmount() and mount_setattr().
This also adds tests.
This is obviously v5.14 material without the need to rush. This can be
found at:
https://git.kernel.org/brauner/h/fs.mount_setattr.nosymfollow
Thanks!
Christian
Christian Brauner (2):
mount: Support "nosymfollow" in new mount api
tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr()
fs/namespace.c | 9 +-
include/uapi/linux/mount.h | 1 +
.../mount_setattr/mount_setattr_test.c | 88 ++++++++++++++++++-
3 files changed, 92 insertions(+), 6 deletions(-)
base-commit: 8124c8a6b35386f73523d27eacb71b5364a68c4c
--
2.27.0
next reply other threads:[~2021-06-01 13:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-01 13:55 Christian Brauner [this message]
2021-06-01 13:55 ` [PATCH 1/2] mount: Support "nosymfollow" in new mount api Christian Brauner
2021-06-17 19:03 ` Ross Zwisler
2021-06-01 13:55 ` [PATCH 2/2] tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr() Christian Brauner
2021-06-17 19:03 ` Ross Zwisler
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=20210601135515.126639-1-brauner@kernel.org \
--to=brauner@kernel.org \
--cc=christian.brauner@ubuntu.com \
--cc=cyphar@cyphar.com \
--cc=hch@lst.de \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mnissler@chromium.org \
--cc=viro@zeniv.linux.org.uk \
--cc=zwisler@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.