linux_dsm_epyc7002/net/batman-adv
Johannes Berg ef6243acb4 genetlink: optionally validate strictly/dumps
Add options to strictly validate messages and dump messages,
sometimes perhaps validating dump messages non-strictly may
be required, so add an option for that as well.

Since none of this can really be applied to existing commands,
set the options everwhere using the following spatch:

    @@
    identifier ops;
    expression X;
    @@
    struct genl_ops ops[] = {
    ...,
     {
            .cmd = X,
    +       .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
            ...
     },
    ...
    };

For new commands one should just not copy the .validate 'opt-out'
flags and thus get strict validation.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-27 17:07:22 -04:00
..
bat_algo.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_algo.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_iv_ogm.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_iv_ogm.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_v_elp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
bat_v_elp.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_v_ogm.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_v_ogm.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_v.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bat_v.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bitarray.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bitarray.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
bridge_loop_avoidance.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
bridge_loop_avoidance.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
debugfs.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
debugfs.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
distributed-arp-table.c batman-adv: allow updating DAT entry timeouts on incoming ARP Replies 2019-03-25 10:01:13 +01:00
distributed-arp-table.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
fragmentation.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
fragmentation.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
gateway_client.c batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
gateway_client.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
gateway_common.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
gateway_common.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
hard-interface.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
hard-interface.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
hash.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
hash.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
icmp_socket.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
icmp_socket.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
Kconfig batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
log.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
log.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
main.c batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
main.h batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
Makefile batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
multicast.c batman-adv: Add multicast-to-unicast support for multiple targets 2019-03-25 10:01:13 +01:00
multicast.h batman-adv: Add multicast-to-unicast support for multiple targets 2019-03-25 10:01:13 +01:00
netlink.c genetlink: optionally validate strictly/dumps 2019-04-27 17:07:22 -04:00
netlink.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
network-coding.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
network-coding.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
originator.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
originator.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
routing.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
routing.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
send.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
send.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
soft-interface.c batman-adv: Add multicast-to-unicast support for multiple targets 2019-03-25 10:01:13 +01:00
soft-interface.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
sysfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
sysfs.h batman-adv: Make sysfs support optional 2019-03-25 10:01:11 +01:00
tp_meter.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
tp_meter.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
trace.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
trace.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
translation-table.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
translation-table.h batman-adv: Add multicast-to-unicast support for multiple targets 2019-03-25 10:01:13 +01:00
tvlv.c batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
tvlv.h batman-adv: Drop license boilerplate 2019-03-25 09:31:35 +01:00
types.h batman-adv: Add multicast-to-unicast support for multiple targets 2019-03-25 10:01:13 +01:00