Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/security.c lsm_bdev_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| MEM_ZERO | 0 | dest | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sb->s_fs_info->bitmap_lock | ||
| HALF_LOCKED2 | &sb->s_fs_info->hpfs_mutex | ||
| HALF_LOCKED2 | &sb->s_root->d_lockref.lock | ||
| HALF_LOCKED2 | &sb->s_umount |
security/security.c lsm_bpf_map_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
security/security.c lsm_bpf_prog_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
security/security.c lsm_bpf_token_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| NS_CAPABLE | 0 | 39 |
security/security.c lsm_cred_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264,4197568 |
| DATA_SOURCE | 2 | gfp | $1 |
| HARD_MAX | 2 | gfp | 4197568 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/security.c lsm_ipc_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 0 | *dest | 0 |
| PARAM_VALUE | 0 | *(*dest) | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
| LOCK2 | &ids->rwsem | ||
| TYPE_LOCK | (struct ipc_ids)->rwsem |
security/security.c lsm_key_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | &user->cons_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &afs_key_lock | ||
| HALF_LOCKED2 | global &key_types_sem |
security/security.c lsm_msg_msg_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 0 | *dest | 0 |
| PARAM_VALUE | 0 | *(*dest) | 0 |
| PARAM_VALUE | 2 | gfp | 3264 |
security/security.c lsm_sock_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 2080,2336,3264,3520 |
| DATA_SOURCE | 2 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | sk |
security/security.c lsm_superblock_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex | ||
| TYPE_LOCK | (struct super_block)->s_umount |
security/security.c lsm_task_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/security.c security_ib_alloc_security() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | dest | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
security/security.c security_perf_event_alloc() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
security/security.c security_tun_dev_alloc_security() -> lsm_blob_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dest | 4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 3264 |
| DATA_SOURCE | 0 | dest | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |