mbox series

[GIT,PULL] mount_setattr updates

Message ID 20210629123511.1191153-1-christian.brauner@ubuntu.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] mount_setattr updates | expand

Pull-request

git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/fs.mount_setattr.nosymfollow.v5.14

Message

Christian Brauner June 29, 2021, 12:35 p.m. UTC
Hi Linus,

/* Summary */
A few releases ago the old mount API gained support for a mount options which
prevents following symlinks on a given mount. This adds support for it in the
new mount api through the MOUNT_ATTR_NOSYMFOLLOW flag via mount_setattr() and
fsmount(). With mount_setattr() that flag can even be applied recursively.

There's an additional ack from Ross Zwisler who originally authored the
nosymfollow patch. As I've already had the patches in my for-next I didn't add
his ack explicitly.

/* Testing */
All patches are based on v5.13-rc4 and have been sitting in linux-next. No
build failures or warnings were observed. All old and new tests are passing.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with current
mainline.

The following changes since commit 8124c8a6b35386f73523d27eacb71b5364a68c4c:

  Linux 5.13-rc4 (2021-05-30 11:58:25 -1000)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/fs.mount_setattr.nosymfollow.v5.14

for you to fetch changes up to 5990b5d770cbfe2b4254d870240e9863aca421e3:

  tests: test MOUNT_ATTR_NOSYMFOLLOW with mount_setattr() (2021-06-01 15:06:51 +0200)

Please consider pulling these changes from the signed fs.mount_setattr.nosymfollow.v5.14 tag.

Thanks!
Christian

----------------------------------------------------------------
fs.mount_setattr.nosymfollow.v5.14

----------------------------------------------------------------
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 +
 .../selftests/mount_setattr/mount_setattr_test.c   | 88 +++++++++++++++++++++-
 3 files changed, 92 insertions(+), 6 deletions(-)

Comments

pr-tracker-bot@kernel.org June 30, 2021, 3:35 a.m. UTC | #1
The pull request you sent on Tue, 29 Jun 2021 14:35:11 +0200:

> git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/fs.mount_setattr.nosymfollow.v5.14

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/30d1a556a9970e02794501068fd91d4417363f0a

Thank you!