Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/module/strict_rwx.c module_enable_data_nx() -> module_set_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->name | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->state | 3 |
| PARAM_VALUE | 0 | mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 1 | type | 1-3,5-6 |
| PARAM_VALUE | 2 | set_memory | 6413526778553774080 |
| CAPPED_DATA | 0 | mod | 1 |
| CAPPED_DATA | 0 | mod->syms | 1 |
| DATA_SOURCE | 0 | mod | $0 |
| LOCK2 | global &module_mutex |
kernel/module/strict_rwx.c module_enable_rodata_ro() -> module_set_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->name | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->state | 3 |
| PARAM_VALUE | 0 | mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 2 | set_memory | 626898835285209088 |
| CAPPED_DATA | 0 | mod | 1 |
| CAPPED_DATA | 0 | mod->syms | 1 |
| DATA_SOURCE | 0 | mod | $0 |
| LOCK2 | global &module_mutex |
kernel/module/strict_rwx.c module_enable_rodata_ro() -> module_set_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->name | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->state | 3 |
| PARAM_VALUE | 0 | mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 1 | type | 6 |
| PARAM_VALUE | 2 | set_memory | 626898835285209088 |
| CAPPED_DATA | 0 | mod | 1 |
| CAPPED_DATA | 0 | mod->syms | 1 |
| DATA_SOURCE | 0 | mod | $0 |
| LOCK2 | global &module_mutex |
kernel/module/strict_rwx.c module_enable_rodata_ro_after_init() -> module_set_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->extable | 4097-u64max |
| PARAM_VALUE | 0 | mod->holders_dir | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | mod->holders_dir->kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->ktype | 1915817945436012544 |
| PARAM_VALUE | 0 | mod->holders_dir->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->holders_dir->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mod->holders_dir->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | mod->holders_dir->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | mod->holders_dir->state_initialized | 1 |
| PARAM_VALUE | 0 | mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj->mp->grp.name | 0-255 |
| PARAM_VALUE | 0 | mod->mkobj.kobj.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.kobj.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.kobj.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.kobj.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | mod->mkobj.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | mod->mkobj.mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->mkobj.mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->mkobj.mod->mkobj.mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->mkobj.mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->mkobj.mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->state | 1 |
| PARAM_VALUE | 0 | mod->mkobj.mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->mkobj.mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->mkobj.mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->mkobj.mp | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->modinfo_attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->name | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->notes_attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->notes_attrs->grp.name | 1766915632948412416 |
| PARAM_VALUE | 0 | mod->num_kp | 0-s32max |
| PARAM_VALUE | 0 | mod->param_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mod->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | mod->sect_attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->sect_attrs->grp.name | 9187953979061133312 |
| PARAM_VALUE | 0 | mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->state | 0 |
| PARAM_VALUE | 0 | mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *mod->mkobj.mp->grp->attrs->name | 0-255 |
| PARAM_VALUE | 0 | *mod->mkobj.mp->grp->bin_attrs->attr->name | 0-255 |
| PARAM_VALUE | 0 | *mod->name | 0-255 |
| PARAM_VALUE | 1 | type | 3 |
| PARAM_VALUE | 2 | set_memory | 626898835285209088 |
| CAPPED_DATA | 0 | mod | 1 |
| CAPPED_DATA | 0 | mod->num_ctors | 1 |
| CAPPED_DATA | 0 | mod->syms | 1 |
| DATA_SOURCE | 0 | mod | $0 |
| TERMINATED | 0 | mod->sect_attrs->grp.name | 1 |
| MEM_ZERO | 0 | &mod->mkobj.kobj | |
| LOCK2 | global &module_mutex |
kernel/module/strict_rwx.c module_enable_text_rox() -> module_set_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mod | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->bug_list.prev | 2513640940785319936 |
| PARAM_VALUE | 0 | mod->core_kallsyms.strtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.symtab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->core_kallsyms.typetab | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->imported_namespaces | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->kallsyms | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->list.prev | 1915283771061870592 |
| PARAM_VALUE | 0 | mod->mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->name | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mod->param_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->param_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | mod->param_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | mod->sig_ok | 0 |
| PARAM_VALUE | 0 | mod->source_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->source_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->srcversion | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mod->state | 3 |
| PARAM_VALUE | 0 | mod->syms | 4096-u64max |
| PARAM_VALUE | 0 | mod->target_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->target_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | mod->using_gplonly_symbols | 1 |
| PARAM_VALUE | 0 | mod->version | 0,4096-ptr_max |
| PARAM_VALUE | 1 | type | 0,4 |
| PARAM_VALUE | 2 | set_memory | 1008293125134131200 |
| CAPPED_DATA | 0 | mod | 1 |
| CAPPED_DATA | 0 | mod->syms | 1 |
| DATA_SOURCE | 0 | mod | $0 |
| LOCK2 | global &module_mutex |