[GIT PULL] fix overlayfs deadlock in file_remove_privs()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Al,

Please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git for-viro

This fixes the deadlock introduced by making the suid removal actually work on
overlayfs.

Responsible commit 07a2daab49c5 ("ovl: Copy up underlying inode's ->i_mode to
overlay inode") unfortunately slipped through my testing and 4.7 was released
with this bug.

Two more patches are cleaning away unneeded exports of related helpers.

Thanks,
Miklos

---
Miklos Szeredi (3):
      vfs: fix deadlock in file_remove_privs() on overlayfs
      vfs: remove file_needs_remove_privs()
      vfs: make dentry_needs_remove_privs() internal

---
 fs/inode.c         | 7 +++----
 fs/internal.h      | 1 +
 include/linux/fs.h | 5 -----
 3 files changed, 4 insertions(+), 9 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux