[PATCH 0/4] fscrypt context consistency check fixes

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

 



From: Eric Biggers <ebiggers@xxxxxxxxxx>

This patchset fixes fscrypt_has_permitted_context() to correctly handle cases
where one or both encryption keys are missing, then updates the ->lookup()
methods for ext4, f2fs, and ubifs to be consistent in how they handle the
encryption context consistency check.

Eric Biggers (4):
  fscrypt: fix context consistency check when key(s) unavailable
  ext4: remove "nokey" check from ext4_lookup()
  f2fs: sync f2fs_lookup() with ext4_lookup()
  ubifs: check for consistent encryption contexts in ubifs_lookup()

 fs/crypto/policy.c | 87 ++++++++++++++++++++++++++++++++++++++++++------------
 fs/ext4/namei.c    |  9 +-----
 fs/f2fs/namei.c    |  7 +++--
 fs/ubifs/dir.c     | 11 +++++++
 4 files changed, 84 insertions(+), 30 deletions(-)

-- 
2.12.2.715.g7642488e1d-goog




[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