Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/namespace.c can_move_mount_beneath() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns | 4096-ptr_max |
| CAPPED_DATA | 0 | mnt | 1 |
| CAPPED_DATA | 0 | mnt->mnt_ns | 1 |
| CAPPED_DATA | 0 | mnt->mnt_ns->root | 1 |
| CAPPED_DATA | 0 | mnt->mnt_parent | 1 |
| DATA_SOURCE | 0 | mnt | $0 |
| PARAM_COMPARE | 0 | mnt | == $0->mnt_parent |
| PARAM_COMPARE | 0 | mnt | == $0->mnt_parent |
fs/namespace.c can_umount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
fs/namespace.c clone_private_mount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
| BIT_INFO | 0 | mnt->mnt_t_flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &namespace_sem | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
fs/namespace.c collect_paths() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &audit_cmd_mutex.lock | ||
| LOCK2 | global &namespace_sem | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
fs/namespace.c do_add_mount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/namespace.c do_loopback() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
fs/namespace.c do_mount_setattr() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| PARAM_VALUE | 0 | mnt->mnt_ns | 0,4096-u64max |
| CAPPED_DATA | 0 | mnt | 1 |
| DATA_SOURCE | 0 | mnt | r real_mount |
| LOCK2 | global &mount_lock.lock | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/namespace.c do_move_mount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
fs/namespace.c do_move_mount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 0-ptr_max |
fs/namespace.c do_reconfigure_mnt() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
fs/namespace.c do_remount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
fs/namespace.c do_umount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| CAPPED_DATA | 0 | &mnt->mnt | 1 |
| DATA_SOURCE | 0 | mnt | $0 |
| LOCK2 | global &mount_lock.lock | ||
| LOCK2 | global &namespace_sem |
fs/namespace.c may_copy_tree() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
| HALF_LOCKED2 | &to_path.dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | global &namespace_sem |
fs/namespace.c may_use_mount() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | $0 |
fs/namespace.c mnt_may_suid() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
fs/namespace.c our_mnt() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
fs/namespace.c path_pivot_root() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |
fs/namespace.c path_pivot_root() -> check_mnt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mnt | 4096-ptr_max |
| DATA_SOURCE | 0 | mnt | r real_mount |