linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mount: add "nosymfollow" support to new mount api
@ 2021-06-01 13:55 Christian Brauner
  2021-06-01 13:55 ` [PATCH 1/2] mount: Support "nosymfollow" in " Christian Brauner
  2021-06-01 13:55 ` [PATCH 2/2] tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr() Christian Brauner
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Brauner @ 2021-06-01 13:55 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: Christoph Hellwig, Al Viro, Mattias Nissler, Aleksa Sarai,
	Ross Zwisler, Christian Brauner

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-17 19:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01 13:55 [PATCH 0/2] mount: add "nosymfollow" support to new mount api Christian Brauner
2021-06-01 13:55 ` [PATCH 1/2] mount: Support "nosymfollow" in " 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

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).