Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/proc/proc_sysctl.c, line 1435
- ipc/ipc_sysctl.c, line 293
- ipc/mq_sysctl.c, line 146
- kernel/pid.c, line 794
- kernel/ucount.c, line 112
- net/sysctl_net.c, line 171
Smatch caller information:
kernel/ucount.c setup_userns_sysctls() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dir.header.count | 1 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_arg | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_size | 1 |
| PARAM_VALUE | 0 | set->dir.header.root | 3250478992949153792 |
| PARAM_VALUE | 0 | set->dir.header.set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->is_seen | 4181673230635741184 |
| PARAM_VALUE | 1 | path | 572916574821515264 |
| PARAM_VALUE | 2 | table | 4096-ptr_max |
| PARAM_VALUE | 3 | table_size | 13 |
| BUF_SIZE | 1 | path | 5 |
| BUF_SIZE | 2 | table | 728 |
| BUF_SIZE | 2 | table | 728 |
| DATA_SOURCE | 2 | table | r kmemdup_noprof |
| STR_LEN | 0 | set | 4 |
| TERMINATED | 1 | path | 1 |
| MEM_ZERO | 0 | set | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | table_size | unit_array_size |
net/sysctl_net.c register_net_sysctl_sz() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | path | 4096-ptr_max |
| PARAM_VALUE | 2 | table | 1-u64max |
| PARAM_VALUE | 3 | table_size | 0-7,10-14,17,20-21,30,33,35,40,63,129 |
| BUF_SIZE | 1 | path | 4,8-16,21,23,31,44 |
| BUF_SIZE | 1 | path | 4,8-16,21,23,31,44 |
| BUF_SIZE | 2 | table | (-1),56,112,168,224,280,336,392,560,616,672,728,784,1120,1176,1680,1848,1960,2240,3528,7224 |
| BUF_SIZE | 2 | table | (-1),56,112,168,224,280,336,392,560,616,672,728,784,1120,1176,1680,1848,1960,2240,3528,7224 |
| CAPPED_DATA | 3 | table_size | 1 |
| CAPPED_DATA | 3 | table_size | 1 |
| DATA_SOURCE | 1 | path | $1 |
| DATA_SOURCE | 2 | table | $2 |
| DATA_SOURCE | 3 | table_size | $3 |
| FUZZY_MAX | 3 | table_size | 21 |
| STR_LEN | 0 | set | (-1),30 |
| STR_LEN | 1 | path | (-1),30 |
| BIT_INFO | 3 | table_size | 0x0,0xbf |
| BIT_INFO | 3 | table_size | 0x0,0xbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | table_size | unit_array_size |
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
kernel/pid.c register_pidns_sysctls() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dir.header.count | 1 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_arg | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_size | 1 |
| PARAM_VALUE | 0 | set->dir.header.root | 2540852192287182848 |
| PARAM_VALUE | 0 | set->dir.header.set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->is_seen | 4861668107294052352 |
| PARAM_VALUE | 1 | path | 2186224515951689728 |
| PARAM_VALUE | 2 | table | 4096-ptr_max |
| PARAM_VALUE | 2 | table->data | 4096-ptr_max |
| PARAM_VALUE | 2 | *table->data | s32min-s32max |
| PARAM_VALUE | 3 | table_size | 1 |
| BUF_SIZE | 1 | path | 7 |
| BUF_SIZE | 2 | table | 56 |
| BUF_SIZE | 2 | table->data | 4 |
| DATA_SOURCE | 2 | table | r kmemdup_noprof |
| STR_LEN | 0 | set | 6 |
| TERMINATED | 1 | path | 1 |
| MEM_ZERO | 0 | set | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | table_size | unit_array_size |
ipc/ipc_sysctl.c setup_ipc_sysctls() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dir.header.count | 1 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_arg | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_size | 1 |
| PARAM_VALUE | 0 | set->dir.header.root | 3418121456690503680 |
| PARAM_VALUE | 0 | set->dir.header.set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->is_seen | 331220681391255552 |
| PARAM_VALUE | 1 | path | 2186224515951689728 |
| PARAM_VALUE | 2 | table | 4096-ptr_max |
| PARAM_VALUE | 3 | table_size | 12 |
| BUF_SIZE | 1 | path | 7 |
| BUF_SIZE | 2 | table | 672 |
| BUF_SIZE | 2 | table | 672 |
| DATA_SOURCE | 2 | table | r kmemdup_noprof |
| STR_LEN | 0 | set | 6 |
| TERMINATED | 1 | path | 1 |
| MEM_ZERO | 0 | set | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | table_size | unit_array_size |
ipc/mq_sysctl.c setup_mq_sysctls() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->dir.header.count | 1 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_arg | 6408103724190810112 |
| PARAM_VALUE | 0 | set->dir.header.ctl_table_size | 1 |
| PARAM_VALUE | 0 | set->dir.header.root | 834065930844975104 |
| PARAM_VALUE | 0 | set->dir.header.set | 4096-ptr_max |
| PARAM_VALUE | 0 | set->is_seen | 256969526480261120 |
| PARAM_VALUE | 1 | path | 4607213564549378048 |
| PARAM_VALUE | 2 | table | 4096-ptr_max |
| PARAM_VALUE | 3 | table_size | 5 |
| BUF_SIZE | 1 | path | 10 |
| BUF_SIZE | 2 | table | 280 |
| BUF_SIZE | 2 | table | 280 |
| DATA_SOURCE | 2 | table | r kmemdup_noprof |
| STR_LEN | 0 | set | 9 |
| TERMINATED | 1 | path | 1 |
| MEM_ZERO | 0 | set | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | table_size | unit_array_size |
fs/proc/proc_sysctl.c register_sysctl_sz() -> __register_sysctl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | set | 6329497269141114880 |
| PARAM_VALUE | 1 | path | 1-u64max |
| PARAM_VALUE | 3 | table_size | 0-12 |
| BUF_SIZE | 1 | path | 0-s32max |
| BUF_SIZE | 1 | path | 0-s32max |
| BUF_SIZE | 2 | table | (-1),112,168,224,280,336,392,448,504,560,616,672 |
| BUF_SIZE | 2 | table | (-1),112,168,224,280,336,392,448,504,560,616,672 |
| CAPPED_DATA | 1 | path | 1 |
| DATA_SOURCE | 1 | path | $0 |
| DATA_SOURCE | 2 | table | $1 |
| DATA_SOURCE | 3 | table_size | $2 |
| STR_LEN | 0 | set | (-1),2-11,13-15,17,19,21-22,27,31,33-34 |
| STR_LEN | 1 | path | (-1),2-11,13-15,17,19,21-22,27,31,33-34 |
| STR_LEN | 1 | path | (-1),9-27,30 |
| STR_LEN | 2 | table | (-1),9-27,30 |
| HARD_MAX | 3 | table_size | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING |