linux/fs/dlm
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
..
Kconfig
Makefile
ast.c dlm: Don't swamp the CPU with callbacks queued during recovery 2018-11-08 13:17:00 -06:00
ast.h
config.c
config.h
debug_fs.c
dir.c
dir.h
dlm_internal.h
lock.c dlm: memory leaks on error path in dlm_user_request() 2018-11-15 09:57:22 -06:00
lock.h
lockspace.c dlm: NULL check before some freeing functions is not needed 2018-12-03 10:02:01 -06:00
lockspace.h
lowcomms.c socket: Rename SO_RCVTIMEO/ SO_SNDTIMEO with _OLD suffixes 2019-02-03 11:17:31 -08:00
lowcomms.h
lvb_table.h
main.c
member.c dlm: fix possible call to kfree() for non-initialized pointer 2018-11-13 11:41:09 -06:00
member.h
memory.c dlm: NULL check before kmem_cache_destroy is not needed 2018-11-28 08:45:55 -06:00
memory.h
midcomms.c
midcomms.h
netlink.c genetlink: optionally validate strictly/dumps 2019-04-27 17:07:22 -04:00
plock.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
rcom.c
rcom.h
recover.c
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
user.c dlm: fix invalid cluster name warning 2018-12-03 15:30:24 -06:00
user.h
util.c
util.h