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
..
2015-04-02 23:47:42 -04:00
2016-09-30 02:14:56 -04:00
2016-09-15 11:55:01 -04:00
2016-09-05 23:21:43 -04:00
2015-04-02 23:47:42 -04:00
2016-09-05 23:11:58 -04:00
2016-05-13 00:44:16 -04:00
2016-03-09 23:49:05 -05:00
2016-07-31 23:38:36 -04:00