Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

security/selinux/ss/services.c security_get_permissions() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 168
DATA_SOURCE 1 name $1
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/services.c security_preserve_bools() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 72
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/services.c selinux_audit_rule_init() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 96
DATA_SOURCE 1 name $2
LOCK2 rcu_read

security/selinux/ss/services.c selinux_audit_rule_init() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 144
DATA_SOURCE 1 name $2
LOCK2 rcu_read

security/selinux/ss/services.c selinux_audit_rule_init() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 120
DATA_SOURCE 1 name $2
LOCK2 rcu_read

security/selinux/ss/services.c services_convert_context() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 96
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags

security/selinux/ss/services.c services_convert_context() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags

security/selinux/ss/services.c services_convert_context() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 120
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags

security/selinux/ss/services.c string_to_context_struct() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
BUF_SIZE 0 s 96
DATA_SOURCE 1 name $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/services.c string_to_context_struct() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4097-18446744073709547521
BUF_SIZE 0 s 144
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/services.c string_to_context_struct() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4098-18446744073709547521
BUF_SIZE 0 s 120
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/policydb.c class_read() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 1 name 4096-ptr_max
PARAM_VALUE 1 *name 0-255
BUF_SIZE 0 s 192
TERMINATED 1 name 1
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c string_to_av_perm() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
BUF_SIZE 1 name (-1),11,14
BUF_SIZE 1 name (-1),11,14
DATA_SOURCE 1 name $2
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c string_to_av_perm() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4096-ptr_max
BUF_SIZE 1 name (-1),11,14
BUF_SIZE 1 name (-1),11,14
DATA_SOURCE 1 name $2
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/policydb.c string_to_security_class() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 168
BUF_SIZE 1 name (-1),8
BUF_SIZE 1 name (-1),8
DATA_SOURCE 1 name $1
LOCK2 global &selinux_state.policy_mutex
TYPE_LOCK (struct selinux_state)->policy_mutex

security/selinux/ss/mls.c mls_context_to_sid() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 1-u64max
BUF_SIZE 0 s 48
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/mls.c mls_context_to_sid() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4097-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/mls.c mls_context_to_sid() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 name 4098-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

security/selinux/ss/mls.c mls_convert_context() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
BUF_SIZE 0 s 48
DATA_SOURCE 1 name r sym_name
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags

security/selinux/ss/mls.c mls_convert_context() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags

security/selinux/ss/mls.c mls_level_isvalid() -> symtab_search()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->nprim 1-u32max
PARAM_VALUE 1 name 1-u64max
BUF_SIZE 0 s 48
DATA_SOURCE 1 name r sym_name
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &selinux_state.policy_mutex