[GIT PULL] fscrypto fixes for 4.8-rc6

From: Theodore Ts'o <tytso@mit.edu>
Date: 2016-09-10 05:37:22
Also in: linux-f2fs-devel, lkml

The following changes since commit c6935931c1894ff857616ff8549b61236a19148f:

  Linux 4.8-rc5 (2016-09-04 14:31:46 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/for_linus_stable

for you to fetch changes up to ba63f23d69a3a10e7e527a02702023da68ef8a6d:

  fscrypto: require write access to mount to set encryption policy (2016-09-10 01:18:57 -0400)

----------------------------------------------------------------
Fix some brown-paper-bag bugs for fscrypto, including one one which
allows a malicious user to set an encryption policy on an empty
directory which they do not own.

----------------------------------------------------------------
Eric Biggers (3):
      fscrypto: add authorization check for setting encryption policy
      fscrypto: only allow setting encryption policy on directories
      fscrypto: require write access to mount to set encryption policy

 fs/crypto/policy.c       | 41 +++++++++++++++++++++++++++++------------
 fs/ext4/ioctl.c          |  2 +-
 fs/f2fs/file.c           |  9 +--------
 include/linux/fscrypto.h |  5 ++---
 4 files changed, 33 insertions(+), 24 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help