Defined in 1 files as a function:
Referenced in 14 files:
- crypto/crypto_user.c, line 473
- drivers/connector/connector.c, line 285
- drivers/infiniband/core/netlink.c, line 318
- drivers/scsi/scsi_netlink.c, line 119
- drivers/scsi/scsi_transport_iscsi.c, line 4983
- kernel/audit.c, line 1704
- lib/kobject_uevent.c, line 786
- net/core/rtnetlink.c, line 7216
- net/core/sock_diag.c, line 333
- net/ipv4/fib_frontend.c, line 1452
- net/netfilter/nfnetlink.c, line 776
- net/netlink/genetlink.c, line 1888
- net/xfrm/xfrm_user.c, line 4620
- security/selinux/netlink.c, line 116
Smatch caller information:
net/core/sock_diag.c diag_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 4 |
| PARAM_VALUE | 2 | cfg | 7214872967319457792 |
| PARAM_VALUE | 2 | cfg->bind | 6615189008261353472 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 4 |
| PARAM_VALUE | 2 | cfg->input | 5820268010194915328 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
drivers/scsi/scsi_netlink.c scsi_netlink_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | unit | 18 |
| PARAM_VALUE | 2 | cfg | 8991430934616264704 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 3 |
| PARAM_VALUE | 2 | cfg->input | 8260972345852137472 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
drivers/connector/connector.c cn_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | unit | 11 |
| PARAM_VALUE | 2 | cfg | 8435751874505912320 |
| PARAM_VALUE | 2 | cfg->bind | 2139194295782109184 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 26 |
| PARAM_VALUE | 2 | cfg->input | 122166027334168576 |
| PARAM_VALUE | 2 | cfg->release | 3388735549402619904 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
net/ipv4/fib_frontend.c nl_fib_lookup_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_has_custom_rules | 0 |
| PARAM_VALUE | 0 | net->ipv4.fib_info_cnt | 0 |
| PARAM_VALUE | 0 | net->ipv4.fib_info_hash | 16,4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_info_hash_bits | 4 |
| PARAM_VALUE | 0 | net->ipv4.fib_rules_require_fldissect | 0 |
| PARAM_VALUE | 0 | net->ipv4.fib_seq | 0 |
| PARAM_VALUE | 0 | net->ipv4.fib_table_hash | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.notifier_ops | 1-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.notifier_ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->action | 1-u64max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->compare | 1-u64max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->configure | 1-u64max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->fill | 1-u64max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->fro_net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->match | 1-u64max |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->rule_size | 160-4000000 |
| PARAM_VALUE | 0 | net->ipv4.rules_ops->rules_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.sysctl_fib_multipath_hash_fields | 7 |
| PARAM_VALUE | 1 | unit | 10 |
| PARAM_VALUE | 2 | cfg | 6528150729969688576 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 0 |
| PARAM_VALUE | 2 | cfg->input | 4736864323286179840 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net | (-1)-s32max |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
drivers/infiniband/core/netlink.c rdma_nl_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 20 |
| PARAM_VALUE | 2 | cfg | 5000748804812681216 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 0 |
| PARAM_VALUE | 2 | cfg->input | 6796546937817931776 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &pernet_ops_rwsem |
lib/kobject_uevent.c uevent_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 15 |
| PARAM_VALUE | 2 | cfg | 28489825457827840 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 1 |
| PARAM_VALUE | 2 | cfg->input | 3570575601072279552 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
drivers/scsi/scsi_transport_iscsi.c iscsi_transport_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | unit | 8 |
| PARAM_VALUE | 2 | cfg | 2913466025006473216 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 1 |
| PARAM_VALUE | 2 | cfg->input | 8239308341569957888 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
kernel/audit.c audit_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 9 |
| PARAM_VALUE | 2 | cfg | 283590834697605120 |
| PARAM_VALUE | 2 | cfg->bind | 6639946852463243264 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 1 |
| PARAM_VALUE | 2 | cfg->input | 4136856535697657856 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 5295600457695338496 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
crypto/crypto_user.c crypto_netlink_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 21 |
| PARAM_VALUE | 2 | cfg | 7541004476684292096 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 0 |
| PARAM_VALUE | 2 | cfg->input | 7373543170478960640 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/xfrm/xfrm_user.c xfrm_user_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 6 |
| PARAM_VALUE | 2 | cfg | 3807704883042136064 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 8 |
| PARAM_VALUE | 2 | cfg->input | 2199021382234234880 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/netlink/genetlink.c genl_pernet_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 16 |
| PARAM_VALUE | 2 | cfg | 2621155158236622848 |
| PARAM_VALUE | 2 | cfg->bind | 9027807090358796288 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 0 |
| PARAM_VALUE | 2 | cfg->input | 8980708673784602624 |
| PARAM_VALUE | 2 | cfg->release | 6296964713834590208 |
| PARAM_VALUE | 2 | cfg->unbind | 8942196985786036224 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/netfilter/nfnetlink.c nfnetlink_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 12 |
| PARAM_VALUE | 2 | cfg | 5290749977433387008 |
| PARAM_VALUE | 2 | cfg->bind | 6826206187494936576 |
| PARAM_VALUE | 2 | cfg->flags | 0 |
| PARAM_VALUE | 2 | cfg->groups | 9 |
| PARAM_VALUE | 2 | cfg->input | 5251869307775610880 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 2899210992914087936 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
net/core/rtnetlink.c rtnetlink_net_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | unit | 0 |
| PARAM_VALUE | 2 | cfg | 4286302791331569664 |
| PARAM_VALUE | 2 | cfg->bind | 3319800992118747136 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 39 |
| PARAM_VALUE | 2 | cfg->input | 2111410629005434880 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |
| BUF_SIZE | 0 | net->key_domain | (-1),24 |
| BUF_SIZE | 0 | net->ucounts | (-1),184 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem |
security/selinux/netlink.c sel_netlink_init() -> netlink_kernel_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | unit | 7 |
| PARAM_VALUE | 2 | cfg | 1575529941436538880 |
| PARAM_VALUE | 2 | cfg->bind | 0 |
| PARAM_VALUE | 2 | cfg->flags | 1 |
| PARAM_VALUE | 2 | cfg->groups | 1 |
| PARAM_VALUE | 2 | cfg->input | 0 |
| PARAM_VALUE | 2 | cfg->release | 0 |
| PARAM_VALUE | 2 | cfg->unbind | 0 |