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 321
Smatch caller information:
security/apparmor/net.c aa_sk_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/apparmorfs.c ns_mkdir_op() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock |
security/apparmor/apparmorfs.c ns_rmdir_op() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/apparmorfs.c profile_remove() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/apparmorfs.c query_data() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/apparmorfs.c query_label() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/apparmorfs.c seq_ns_level_show() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->vec | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_name_show() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->vec | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_nsstacked_show() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/apparmorfs.c seq_ns_stacked_show() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
security/apparmor/af_inet.c aa_inet_accept_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_bind_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_connect_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_listen_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_msg_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_opt_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_inet.c aa_inet_sock_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_file_alloc_security() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label->count.count.refcount.refs.counter | (-1073741824) |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_path_link() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_path_rename() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_socket_create() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_socket_getpeersec_stream() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->vec | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_socket_socketpair() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c apparmor_userns_create() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c common_file_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/lsm.c do_setattr() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_unix.c aa_unix_accept_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_unix.c aa_unix_bind_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_unix.c aa_unix_listen_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_unix.c aa_unix_opt_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| PARAM_VALUE | 0 | label->flags | s64min-(-1),2-s64max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |
security/apparmor/af_unix.c aa_unix_sock_perm() -> end_current_label_crit_section()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | label | 4096-ptr_max |
| DATA_SOURCE | 0 | label | r begin_current_label_crit_section |
| NOCHECK_CALL |