linux/fs/crypto
Eric Biggers db717d8e26 fscrypto: move ioctl processing more fully into common code
Multiple bugs were recently fixed in the "set encryption policy" ioctl.
To make it clear that fscrypt_process_policy() and fscrypt_get_policy()
implement ioctls and therefore their implementations must take standard
security and correctness precautions, rename them to
fscrypt_ioctl_set_policy() and fscrypt_ioctl_get_policy().  Make the
latter take in a struct file * to make it consistent with the former.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2016-12-11 16:26:07 -05:00
..
crypto.c fscrypt: Let fs select encryption index/tweak 2016-11-13 20:18:16 -05:00
fname.c fscrypto: don't use on-stack buffer for filename encryption 2016-11-13 21:56:19 -05:00
Kconfig fscrypto: remove unneeded Kconfig dependencies 2016-12-11 16:26:07 -05:00
keyinfo.c fscrypto: don't use on-stack buffer for key derivation 2016-11-13 21:56:25 -05:00
Makefile
policy.c fscrypto: move ioctl processing more fully into common code 2016-12-11 16:26:07 -05:00