Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- security/apparmor/af_inet.c
- security/apparmor/af_unix.c
- security/apparmor/apparmorfs.c
- security/apparmor/lsm.c
- security/apparmor/net.c, line 319
Smatch caller information:
security/apparmor/net.c aa_sk_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3240597463988662272 |
security/apparmor/apparmorfs.c ns_mkdir_op() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3880222432191012864 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
security/apparmor/apparmorfs.c ns_rmdir_op() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 4993226526829350912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
security/apparmor/apparmorfs.c policy_update() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 5647262408915288064 |
security/apparmor/apparmorfs.c profile_remove() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 8466991996431339520 |
security/apparmor/apparmorfs.c query_data() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 4048917172580544512 |
security/apparmor/apparmorfs.c query_label() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 7529600476447133696 |
security/apparmor/apparmorfs.c seq_ns_level_show() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 2314123672959172608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_name_show() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3862637932431323136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_nsstacked_show() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 8098551766190063616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_stacked_show() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 5282305931145531392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/af_inet.c aa_inet_accept_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 5517302866549575680 |
security/apparmor/af_inet.c aa_inet_bind_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 7458805080870146048 |
security/apparmor/af_inet.c aa_inet_connect_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 8896342418670567424 |
security/apparmor/af_inet.c aa_inet_listen_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 427791668109746176 |
security/apparmor/af_inet.c aa_inet_msg_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 8966248057798184960 |
security/apparmor/af_inet.c aa_inet_opt_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 7588741376721383424 |
security/apparmor/af_inet.c aa_inet_sock_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 833211808908230656 |
security/apparmor/lsm.c apparmor_file_alloc_security() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3243204140362629120 |
security/apparmor/lsm.c apparmor_path_link() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 6972536064176865280 |
security/apparmor/lsm.c apparmor_path_rename() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 641642522473324544 |
security/apparmor/lsm.c apparmor_socket_create() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 6378200316471558144 |
security/apparmor/lsm.c apparmor_socket_getpeersec_stream() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 8690466846338310144 |
security/apparmor/lsm.c apparmor_socket_socketpair() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 4178486405606821888 |
security/apparmor/lsm.c apparmor_userns_create() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 497693718703919104 |
security/apparmor/lsm.c common_file_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 4474132691680956416 |
security/apparmor/lsm.c do_setattr() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3644398024116604928 |
security/apparmor/af_unix.c aa_unix_accept_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 2104885569075896320 |
security/apparmor/af_unix.c aa_unix_bind_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 3179546934137569280 |
security/apparmor/af_unix.c aa_unix_listen_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 1790427711458127872 |
security/apparmor/af_unix.c aa_unix_opt_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 6865227958492192768 |
security/apparmor/af_unix.c aa_unix_sock_perm() -> begin_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | needput | 4271695960249352192 |