Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ipv4/netfilter/ip_tables.c compat_get_entries() -> compat_copy_entries_to_user()

Type Parameter Key Value
PARAM_VALUE 1 table 4096-ptr_max
PARAM_VALUE 1 table->me 0,4096-ptr_max
PARAM_VALUE 1 table->private 4096-ptr_max
PARAM_VALUE 1 table->private->entries->elems->u.kernel.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.user.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.user.revision 0-255
PARAM_VALUE 1 table->private->number 1-268435455
CAPPED_DATA 1 table->me 1
DATA_SOURCE 1 table r xt_find_table_lock
NS_CAPABLE 0 12
RX_PATH
UNITS 0 total_size unit_byte

net/ipv6/netfilter/ip6_tables.c compat_get_entries() -> compat_copy_entries_to_user()

Type Parameter Key Value
PARAM_VALUE 1 table 4096-ptr_max
PARAM_VALUE 1 table->me 0,4096-ptr_max
PARAM_VALUE 1 table->private 4096-ptr_max
PARAM_VALUE 1 table->private->entries->elems->u.kernel.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.user.match_size 0-u16max
PARAM_VALUE 1 table->private->entries->elems->u.user.revision 0-255
PARAM_VALUE 1 table->private->number 1-268435455
CAPPED_DATA 1 table->me 1
DATA_SOURCE 1 table r xt_find_table_lock
NS_CAPABLE 0 12
RX_PATH
UNITS 0 total_size unit_byte

net/ipv4/netfilter/arp_tables.c compat_get_entries() -> compat_copy_entries_to_user()

Type Parameter Key Value
PARAM_VALUE 1 table 4096-ptr_max
PARAM_VALUE 1 table->me 0,4096-ptr_max
PARAM_VALUE 1 table->private 4096-ptr_max
PARAM_VALUE 1 table->private->number 1-268435455
CAPPED_DATA 1 table->me 1
DATA_SOURCE 1 table r xt_find_table_lock
NS_CAPABLE 0 12
RX_PATH
UNITS 0 total_size unit_byte