Defined in 1 files as a function:
Referenced in 7 files:
- include/linux/lsm_hook_defs.h, line 333
- net/unix/af_unix.c
- security/apparmor/lsm.c, line 1810
- security/landlock/task.c, line 461
- security/security.c, line 4174
- security/selinux/hooks.c, line 7710
- security/smack/smack_lsm.c, line 5258
Smatch caller information:
net/unix/af_unix.c unix_dgram_connect() -> unix_may_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | osk | 4096-ptr_max |
| CAPPED_DATA | 0 | sk | 1 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 1 | osk | r unix_find_other |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sk | unit_byte |
net/unix/af_unix.c unix_dgram_sendmsg() -> unix_may_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | osk | 4096-ptr_max |
| CAPPED_DATA | 1 | osk | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 1 | osk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| UNITS | 1 | osk | unit_byte |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |