KEYS: Use a typedef for restrict_link function pointers
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Mon, 25 Apr 2016 18:30:39 +0000 (11:30 -0700)
committerMat Martineau <mathew.j.martineau@linux.intel.com>
Mon, 3 Apr 2017 17:24:55 +0000 (10:24 -0700)
commit469ff8f7d46d75b36de68a0411a2ce80109ad00b
tree4b4841cc00943da7565a259fbe90ea5e02a6082f
parent73cdd29044e081d56ef6b3186d22cdf25d9dd333
KEYS: Use a typedef for restrict_link function pointers

This pointer type needs to be returned from a lookup function, and
without a typedef the syntax gets cumbersome.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Documentation/security/keys.txt
include/linux/key.h
security/keys/key.c
security/keys/keyring.c