Defined in 1 files as a prototype:
Defined in 2 files as a function:
- fs/smb/client/cifsacl.c, line 1395 (as a function)
- fs/smb/server/smbacl.c, line 1020 (as a function)
Referenced in 2 files:
Smatch caller information:
fs/smb/client/cifsacl.c id_mode_to_cifs_acl() -> build_sec_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 1-ptr_max |
| PARAM_VALUE | 0 | idmap->dacloffset | 0,20-4294967287 |
| PARAM_VALUE | 1 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 3 | ppntsd_size | 2902951095923167232 |
| PARAM_VALUE | 3 | *ppntsd_size | 332-4000000 |
| PARAM_VALUE | 4 | addition_info | 7255638598310330368 |
| PARAM_VALUE | 4 | *addition_info | 0-64511,u64max |
| PARAM_VALUE | 10 | aclflag | 1602239609194119168 |
| PARAM_VALUE | 10 | *aclflag | 0 |
| BUF_SIZE | 0 | idmap | (-1),1-s32max |
| BUF_SIZE | 0 | idmap | (-1),1-s32max |
| BUF_SIZE | 1 | pntsd | 332-u32max |
| BUF_SIZE | 1 | pntsd | 332-u32max |
| DATA_SOURCE | 1 | pntsd | r _kzalloc_noprof |
| DATA_SOURCE | 4 | addition_info | $2 |
| DATA_SOURCE | 5 | secdesclen | $3 |
| DATA_SOURCE | 6 | fattr | $4 |
| BIT_INFO | 7 | mode_from_sid | 0x0,0x0 |
| BIT_INFO | 8 | id_from_sid | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | *addition_info | 0-64511 |
| USER_PTR | 4 | addition_info | |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/server/smb2pdu.c smb2_get_info_sec() -> build_sec_desc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pntsd | 1-18446744073709551614 |
| PARAM_VALUE | 2 | ppntsd | 0,4096-ptr_max |
| PARAM_VALUE | 3 | ppntsd_size | s32min-0,20-4000000 |
| PARAM_VALUE | 5 | secdesclen | 2837552023615016960 |
| PARAM_VALUE | 5 | *secdesclen | 0 |
| PARAM_VALUE | 6 | fattr | 3326043383675969536 |
| PARAM_VALUE | 6 | fattr->cf_acls | 0 |
| PARAM_VALUE | 6 | fattr->cf_dacls | 0 |
| PARAM_VALUE | 6 | fattr->daccess | 0 |
| BUF_SIZE | 1 | pntsd | 1-18446744073709551614 |
| BUF_SIZE | 1 | pntsd | 1-18446744073709551614 |
| CAPPED_DATA | 3 | ppntsd_size | 1 |
| DATA_SOURCE | 0 | idmap | r file_mnt_idmap |
| DATA_SOURCE | 1 | pntsd | r __kvmalloc_node_noprof |
| FUZZY_MAX | 3 | ppntsd_size | 0 |
| BIT_INFO | 4 | addition_info | 0x0,0x20000007 |
| USER_DATA | 4 | addition_info | s32min-s32max |
| UNITS | 3 | ppntsd_size | unit_byte |
| LOCK2 | &pool->lock |