Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
security/smack/smack_lsm.c smack_add_opt() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| DATA_SOURCE | 0 | string | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | string |
security/smack/smack_lsm.c smack_audit_rule_init() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0 |
| DATA_SOURCE | 0 | string | $2 |
security/smack/smack_lsm.c smack_inode_post_setxattr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | string | $2 |
| DATA_SOURCE | 1 | len | $3 |
security/smack/smack_lsm.c smack_inode_post_setxattr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | string | $2 |
| DATA_SOURCE | 1 | len | $3 |
security/smack/smack_lsm.c smack_inode_post_setxattr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | string | $2 |
| DATA_SOURCE | 1 | len | $3 |
security/smack/smack_lsm.c smack_inode_setsecurity() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 1-256 |
| DATA_SOURCE | 0 | string | $2 |
| DATA_SOURCE | 1 | len | $3 |
security/smack/smack_lsm.c smack_inode_setxattr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | string | $3 |
| DATA_SOURCE | 1 | len | $4 |
security/smack/smack_lsm.c smack_set_mnt_opts() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/smack/smack_lsm.c smack_set_mnt_opts() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/smack/smack_lsm.c smack_set_mnt_opts() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/smack/smack_lsm.c smack_set_mnt_opts() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/smack/smack_lsm.c smack_set_mnt_opts() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 1-u64max |
| PARAM_VALUE | 1 | len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
security/smack/smack_lsm.c smk_fetch() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-s32max |
| BUF_SIZE | 0 | string | 256 |
| BUF_SIZE | 0 | string | 256 |
| DATA_SOURCE | 0 | string | r _kzalloc_noprof |
| DATA_SOURCE | 1 | len | r __vfs_getxattr |
security/smack/smackfs.c smk_fill_rule() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0,24 |
| BUF_SIZE | 0 | string | (-1),1-1000000001,2147479553 |
| BUF_SIZE | 0 | string | (-1),1-1000000001,2147479553 |
| DATA_SOURCE | 0 | string | $0 |
| DATA_SOURCE | 1 | len | $6 |
| HARD_MAX | 1 | len | 24 |
| USER_DATA | 0 | *string | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | string->data | |
| USER_PTR | 0 | string |
security/smack/smackfs.c smk_fill_rule() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 0,24 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | string | $1 |
| DATA_SOURCE | 1 | len | $6 |
| HARD_MAX | 1 | len | 24 |
| USER_DATA | 0 | *string | 0-255 |
| USER_PTR | 0 | string |
security/smack/smackfs.c smk_parse_label_list() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 0 | *string | 1-255 |
| PARAM_VALUE | 1 | len | 0 |
| DATA_SOURCE | 0 | string | r strsep |
security/smack/smackfs.c smk_set_cipso() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| TERMINATED | 0 | string | 1 |
| USER_DATA | 0 | *string | 0-255 |
| USER_PTR | 0 | string | |
| LOCK2 | global &smack_cipso_lock |
security/smack/smackfs.c smk_write_ambient() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-4096 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | string | r memdup_user_nul |
| DATA_SOURCE | 1 | len | $2 |
| TERMINATED | 0 | string | 1 |
| USER_DATA | 0 | *string | 0-255 |
| USER_DATA | 1 | len | 1-4096 |
| UNITS | 1 | len | unit_byte |
| USER_PTR | 0 | string |
security/smack/smackfs.c smk_write_net4addr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0 |
| BUF_SIZE | 0 | string | 10-4096 |
| BUF_SIZE | 0 | string | 10-4096 |
| DATA_SOURCE | 0 | string | r _kzalloc_noprof |
security/smack/smackfs.c smk_write_net6addr() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0 |
| BUF_SIZE | 0 | string | 10-4096 |
| BUF_SIZE | 0 | string | 10-4096 |
| DATA_SOURCE | 0 | string | r _kzalloc_noprof |
security/smack/smackfs.c smk_write_syslog() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 1-4096 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | string | r memdup_user_nul |
| DATA_SOURCE | 1 | len | $2 |
| TERMINATED | 0 | string | 1 |
| USER_DATA | 0 | *string | 0-255 |
| USER_DATA | 1 | len | 1-4096 |
| UNITS | 1 | len | unit_byte |
| USER_PTR | 0 | string |
security/smack/smackfs.c smk_write_unconfined() -> smk_import_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | string | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-4096 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| BUF_SIZE | 0 | string | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | string | r memdup_user_nul |
| DATA_SOURCE | 1 | len | $2 |
| TERMINATED | 0 | string | 1 |
| USER_DATA | 0 | *string | 0-255 |
| USER_DATA | 1 | len | 0-4096 |
| UNITS | 1 | len | unit_byte |
| USER_PTR | 0 | string |