Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/selinux/ss/conditional.c cond_read_bool() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 8 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c cat_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 8 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c class_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 72 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c common_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 32 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c perm_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->nprim | 1-32 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 4 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| NO_OVERFLOW_SIMPLE | 0 | s->table.size | |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c role_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 40 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c roles_init() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 0 | s | 144 |
| BUF_SIZE | 2 | datum | 40 |
| DATA_SOURCE | 1 | name | r kstrdup |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c sens_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 32 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c type_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 12 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |
security/selinux/ss/policydb.c user_read() -> symtab_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 1 | *name | 0-255 |
| PARAM_VALUE | 2 | datum | 4096-ptr_max |
| BUF_SIZE | 2 | datum | 96 |
| DATA_SOURCE | 0 | s | $1 |
| DATA_SOURCE | 2 | datum | r _kzalloc_noprof |
| TERMINATED | 1 | name | 1 |
| LOCK2 | global &selinux_state.policy_mutex | ||
| TYPE_LOCK | (struct selinux_state)->policy_mutex |