Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

security/selinux/ss/services.c sidtab_entry_to_string() -> sidtab_sid2str_put()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 2 str 0,16,4096-ptr_max
BUF_SIZE 1 entry (-1),104
BUF_SIZE 1 entry (-1),104
DATA_SOURCE 0 s $1
DATA_SOURCE 1 entry $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read

security/selinux/ss/sidtab.c sidtab_sid2str_get() -> sidtab_sid2str_put()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 entry 4096-ptr_max
PARAM_VALUE 1 entry->cache 4096-ptr_max
PARAM_VALUE 1 entry->context.len 0
PARAM_VALUE 2 str 1-u64max
BUF_SIZE 1 entry (-1),104
BUF_SIZE 1 entry (-1),104
DATA_SOURCE 0 s $0
DATA_SOURCE 1 entry $1
DATA_SOURCE 2 str r kmemdup_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL