linux-IllusionX/certs
Mat Martineau aaf66c8838 KEYS: Split role of the keyring pointer for keyring restrict functions
The first argument to the restrict_link_func_t functions was a keyring
pointer. These functions are called by the key subsystem with this
argument set to the destination keyring, but restrict_link_by_signature
expects a pointer to the relevant trusted keyring.

Restrict functions may need something other than a single struct key
pointer to allow or reject key linkage, so the data used to make that
decision (such as the trust keyring) is moved to a new, fourth
argument. The first argument is now always the destination keyring.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
2017-04-03 10:24:56 -07:00
..
.gitignore certs: add .gitignore to stop git nagging about x509_certificate_list 2015-10-21 15:18:35 +01:00
blacklist.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist.h KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist_hashes.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
blacklist_nohashes.c KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
Kconfig KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
Makefile KEYS: Add a system blacklist keyring 2017-04-03 16:07:24 +01:00
system_certificates.S certs: Fix misaligned data in extra certificate list 2016-02-29 14:44:30 +00:00
system_keyring.c KEYS: Split role of the keyring pointer for keyring restrict functions 2017-04-03 10:24:56 -07:00