Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
security/smack/smack_access.c smk_tskacc() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| DATA_SOURCE | 0 | tsp | $0 |
| HALF_LOCKED2 | rcu_read |
security/smack/smack_lsm.c smack_cred_getlsmprop() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| LOCK2 | rcu_read |
security/smack/smack_lsm.c smack_cred_getsecid() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| LOCK2 | rcu_read |
security/smack/smack_lsm.c smack_inode_init_security() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| PARAM_COMPARE | 0 | tsp->smk_task | != $0->smk_transmuted |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->vh_mutex |
security/smack/smack_lsm.c smack_key_alloc() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smack_key_permission() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smack_post_notification() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smack_post_notification() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smack_ptrace_traceme() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smack_task_kill() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
security/smack/smack_lsm.c smk_bu_tsk_to_obj() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| DATA_SOURCE | 0 | tsp | $1 |
security/smack/smack_lsm.c smk_of_current() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/smack/smack_lsm.c smk_of_task_struct_obj() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| LOCK2 | rcu_read |
security/smack/smack_lsm.c smk_ptrace_rule_check() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| DATA_SOURCE | 0 | tsp | r smack_cred |
| LOCK2 | rcu_read |
security/smack/smackfs.c smk_of_current() -> smk_of_task()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tsp | 4096-ptr_max |
| HALF_LOCKED2 | global &smk_cipso_doi_lock | ||
| HALF_LOCKED2 | global &smk_net4addr_lock |