Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/apparmor/apparmorfs.c __aa_fs_create_rawdata() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| BUF_SIZE | 0 | name | 0-s32max |
| BUF_SIZE | 0 | name | 0-s32max |
| CAPPED_DATA | 0 | name | 1 |
| DATA_SOURCE | 0 | name | r kasprintf |
| LOCK2 | &ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/apparmorfs.c __aafs_ns_mkdir() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | name | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | name | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | name | $2 [m] |
| DATA_SOURCE | 1 | parent | $1 |
| UNITS | 0 | name | unit_byte |
| UNITS | 1 | parent | unit_jiffy |
| HALF_LOCKED2 | &ns->lock | ||
| HALF_LOCKED2 | &parent->lock | ||
| HALF_LOCKED2 | global &root_ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/apparmorfs.c __aafs_ns_mkdir_entries() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3560560794458034176 |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| BUF_SIZE | 0 | name | 9 |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| DATA_SOURCE | 1 | parent | $1 |
| STR_LEN | 0 | name | 8 |
| TERMINATED | 0 | name | 1 |
| HALF_LOCKED2 | &ns->lock | ||
| HALF_LOCKED2 | global &root_ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/apparmorfs.c __aafs_ns_mkdir_entries() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3515123493057986560 |
| PARAM_VALUE | 1 | parent | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->d_children->first->pprev | 1-u64max |
| PARAM_VALUE | 1 | parent->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->d_children.first->pprev | 0 |
| PARAM_VALUE | 1 | parent->d_sb | 4096-ptr_max |
| PARAM_VALUE | 1 | parent->d_sb->__s_d_op | 0,4096-ptr_max |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_bmap_bits | 0-4294967295 |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_bmap_count | 0-4294967295 |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_data_blksize | 0-4294967295 |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_hashsize | s32min-s32max |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_last_bmap | 0-4294967295 |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_mode | 0-u16max |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_partition_size | s32min-s32max |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_reserved | s32min-s32max |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->s_root_block | 0-4294967295 |
| PARAM_VALUE | 1 | parent->d_sb->s_fs_info->work_queued | s32min-s32max |
| BUF_SIZE | 0 | name | 9 |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| DATA_SOURCE | 1 | parent | $1 |
| STR_LEN | 0 | name | 8 |
| TERMINATED | 0 | name | 1 |
| HALF_LOCKED2 | &ns->lock | ||
| HALF_LOCKED2 | global &root_ns->lock | ||
| TYPE_LOCK | (struct aa_ns)->lock |
security/apparmor/apparmorfs.c __aafs_profile_mkdir() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 3560560794458034176 |
| PARAM_VALUE | 1 | parent | 1-u64max |
| BUF_SIZE | 0 | name | 9 |
| STR_LEN | 0 | name | 8 |
| TERMINATED | 0 | name | 1 |
| HALF_LOCKED2 | &ns->lock |
security/apparmor/apparmorfs.c __aafs_profile_mkdir() -> aafs_create_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| PARAM_VALUE | 1 | parent | 1-u64max |
| BUF_SIZE | 0 | name | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | name | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| BUF_SIZE | 1 | parent | (-1),1-s32max |
| DATA_SOURCE | 1 | parent | $1 [m] |
| HALF_LOCKED2 | &ns->lock |