Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

security/keys/keyctl.c keyctl_restrict_keyring() -> keyring_restrict()

Type Parameter Key Value
PARAM_VALUE 0 keyring_ref 0,4096-ptr_max
PARAM_VALUE 1 type 0,2762414733690085376
PARAM_VALUE 1 *type 0
PARAM_VALUE 2 restriction 0,4096-ptr_max
BUF_SIZE 0 keyring_ref (-1)-s32max
BUF_SIZE 0 keyring_ref (-1)-s32max
BUF_SIZE 1 type 0,32
BUF_SIZE 2 restriction s32min-s32max
DATA_SOURCE 0 keyring_ref r lookup_user_key
BIT_INFO 1 type 0x0,0x265611907be72000
USER_DATA 2 *restriction 0-255
USER_PTR 2 restriction

drivers/md/dm-verity-verify-sig.c dm_verity_verify_sig_init() -> keyring_restrict()

Type Parameter Key Value
PARAM_VALUE 0 keyring_ref 4097-18446744073709547521
PARAM_VALUE 1 type 0
PARAM_VALUE 2 restriction 0