Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/client/cifsacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 3-255 |
| PARAM_VALUE | 1 | cwsid | 5208330810201055232 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| CAPPED_DATA | 1 | cwsid->num_subauth | 1 |
| DATA_SOURCE | 1 | cwsid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| CAPPED_DATA | 1 | cwsid->num_subauth | 1 |
| DATA_SOURCE | 1 | cwsid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 7440287502598983680 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 7960070001439002624 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c replace_sids_and_copy_aces() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| DATA_SOURCE | 1 | cwsid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c replace_sids_and_copy_aces() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| DATA_SOURCE | 1 | cwsid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c set_chmod_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 5208330810201055232 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c set_chmod_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| CAPPED_DATA | 1 | cwsid->num_subauth | 1 |
| DATA_SOURCE | 1 | cwsid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c set_chmod_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| CAPPED_DATA | 1 | cwsid->num_subauth | 1 |
| DATA_SOURCE | 1 | cwsid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c set_chmod_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 7440287502598983680 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c set_chmod_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid | 7960070001439002624 |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 3-15 |
| PARAM_VALUE | 1 | cwsid | 3977817297844088832 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| DATA_SOURCE | 1 | cwsid | $3 |
| UNITS | 1 | cwsid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| DATA_SOURCE | 1 | cwsid | $4 |
| UNITS | 1 | cwsid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| PARAM_VALUE | 1 | cwsid | 4129751567202299904 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| PARAM_VALUE | 1 | cwsid | 8656802262293917696 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| PARAM_VALUE | 1 | cwsid | 2573545949074395136 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| PARAM_VALUE | 1 | cwsid | 5846978193430020096 |
| PARAM_VALUE | 1 | cwsid->revision | 0-254 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c sid_to_id() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 1-15 |
| PARAM_VALUE | 1 | cwsid | 4117814993462644780 |
| BUF_SIZE | 1 | cwsid | 68 |
| CAPPED_DATA | 0 | ctsid->num_subauth | 1 |
| DATA_SOURCE | 0 | ctsid | $1 |
| UNITS | 0 | ctsid | unit_byte |
fs/smb/server/smbacl.c sid_to_id() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4096-ptr_max |
| PARAM_VALUE | 0 | ctsid->num_subauth | 2 |
| PARAM_VALUE | 1 | cwsid | 3285239818453127168 |
| BUF_SIZE | 1 | cwsid | 68 |
| DATA_SOURCE | 0 | ctsid | $1 |
| UNITS | 0 | ctsid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 16515062094016512 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 8271911337673945088 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 0-1 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 3977817297844088832 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4129751567202299904 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 5846978193430020096 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 16515062094016512 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 8271911337673945088 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 0-1 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 3977817297844088832 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 4129751567202299904 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_check_perm_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 5846978193430020096 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
| LOCK2 | &dir_fp->readdir_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_file)->readdir_lock |
fs/smb/server/smbacl.c smb_inherit_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 8656802262293917696 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |
fs/smb/server/smbacl.c smb_inherit_dacl() -> compare_sids()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctsid | 2573545949074395136 |
| PARAM_VALUE | 0 | ctsid->num_subauth | 0-16 |
| PARAM_VALUE | 0 | ctsid->revision | 1-255 |
| PARAM_VALUE | 1 | cwsid | 4096-ptr_max |
| PARAM_VALUE | 1 | cwsid->num_subauth | 0-15 |