• Mat Martineau's avatar
    KEYS: Split role of the keyring pointer for keyring restrict functions · aaf66c88
    Mat Martineau authored
    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: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
    aaf66c88
Name
Last commit
Last update
..
asymmetric-parser.h Loading commit data...
asymmetric-subtype.h Loading commit data...
asymmetric-type.h Loading commit data...
big_key-type.h Loading commit data...
ceph-type.h Loading commit data...
dns_resolver-type.h Loading commit data...
encrypted-type.h Loading commit data...
keyring-type.h Loading commit data...
rxrpc-type.h Loading commit data...
system_keyring.h Loading commit data...
trusted-type.h Loading commit data...
user-type.h Loading commit data...