Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/device_cgroup.c devcgroup_legacy_check_permission() -> match_exception_partial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exceptions | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | major | 0-4095 |
| PARAM_VALUE | 4 | access | 0-2,4,6 |
| DATA_SOURCE | 1 | type | $0 |
| DATA_SOURCE | 2 | major | $1 |
| DATA_SOURCE | 3 | minor | $2 |
| DATA_SOURCE | 4 | access | $3 |
| HARD_MAX | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | major | 0-4095 |
| USER_DATA | 3 | minor | 0-1048575[c] |
| USER_DATA | 4 | access | 2,6[c] |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &kfd_processes_mutex |
security/device_cgroup.c parent_allows_removal() -> match_exception_partial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exceptions | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-2 |
| PARAM_VALUE | 2 | major | 0,u32max |
| PARAM_VALUE | 3 | minor | 0,u32max |
| PARAM_VALUE | 4 | access | 0-6,8 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | major | 0 |
| USER_DATA | 3 | minor | 0 |
| UNITS | 3 | minor | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
security/device_cgroup.c verify_new_ex() -> match_exception_partial()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exceptions | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | major | 0 |
| USER_DATA | 3 | minor | 0 |
| UNITS | 3 | minor | unit_array_size |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devcgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |