Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
DATA_SOURCE 0 id $1
DATA_SOURCE 1 _type $2
DATA_SOURCE 2 _restriction $3
USER_DATA 0 id s32min-s32max

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

Type Parameter Key Value
DATA_SOURCE 0 id $1
DATA_SOURCE 1 _type $2
DATA_SOURCE 2 _restriction $3
USER_DATA 0 id s32min-s32max

security/keys/compat.c __do_compat_sys_keyctl() -> keyctl_restrict_keyring()

Type Parameter Key Value
PARAM_VALUE 1 _type 0-u32max
PARAM_VALUE 2 _restriction 0-u32max
DATA_SOURCE 0 id $1
BIT_INFO 1 _type 0x0,0xffffffff
BIT_INFO 2 _restriction 0x0,0xffffffff
USER_DATA 0 id s32min-s32max

security/keys/compat.c __do_compat_sys_keyctl() -> keyctl_restrict_keyring()

Type Parameter Key Value
PARAM_VALUE 1 _type 0-u32max
PARAM_VALUE 2 _restriction 0-u32max
DATA_SOURCE 0 id $1
BIT_INFO 1 _type 0x0,0xffffffff
BIT_INFO 2 _restriction 0x0,0xffffffff
USER_DATA 0 id s32min-s32max