ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE
authorEric Biggers <ebiggers@google.com>
Sat, 14 Mar 2020 20:50:50 +0000 (13:50 -0700)
committerEric Biggers <ebiggers@google.com>
Fri, 20 Mar 2020 04:56:59 +0000 (21:56 -0700)
commit7ec9f3b47aba0fe715bf3472ed80e91c37970363
tree8175e5cac24808734fb7fd7350590c2b58dc089d
parente98ad464750c0894bc560d10503dae8ff90ccdac
ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE

This new ioctl retrieves a file's encryption nonce, which is useful for
testing.  See the corresponding fs/crypto/ patch for more details.

Link: https://lore.kernel.org/r/20200314205052.93294-3-ebiggers@kernel.org
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/ext4/ioctl.c