[GIT PULL] fscrypt updates for 5.7

From: Eric Biggers
Date: Mon Mar 30 2020 - 12:54:03 EST


The following changes since commit 98d54f81e36ba3bf92172791eba5ca5bd813989b:

Linux 5.6-rc4 (2020-03-01 16:38:46 -0600)

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt-for-linus

for you to fetch changes up to 861261f2a9cc488c845fc214d9035f7a11094591:

ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCE (2020-03-19 21:57:06 -0700)

----------------------------------------------------------------

Add an ioctl FS_IOC_GET_ENCRYPTION_NONCE which retrieves a file's
encryption nonce. This makes it easier to write automated tests which
verify that fscrypt is doing the encryption correctly.

----------------------------------------------------------------
Eric Biggers (4):
fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl
ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE
f2fs: wire up FS_IOC_GET_ENCRYPTION_NONCE
ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCE

Documentation/filesystems/fscrypt.rst | 11 +++++++++++
fs/crypto/fscrypt_private.h | 20 ++++++++++++++++++++
fs/crypto/keysetup.c | 16 ++--------------
fs/crypto/policy.c | 21 ++++++++++++++++++++-
fs/ext4/ioctl.c | 6 ++++++
fs/f2fs/file.c | 11 +++++++++++
fs/ubifs/ioctl.c | 4 ++++
include/linux/fscrypt.h | 6 ++++++
include/uapi/linux/fscrypt.h | 1 +
9 files changed, 81 insertions(+), 15 deletions(-)