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
..
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
dlm: make config_item_type const
2017-10-19 16:15:22 +02:00
config.h
dlm: add log_info config option
2016-06-21 09:04:24 -05:00
debug_fs.c
dlm: Improve a size determination in table_seq_start()
2017-08-07 11:23:09 -05:00
dir.c
dir.h
dlm_internal.h
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
Kconfig
lock.c
dlm: memory leaks on error path in dlm_user_request()
2018-11-15 09:57:22 -06:00
lock.h
dlm: adopt orphan locks
2014-11-19 14:48:02 -06:00
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
dlm: audit and remove any unnecessary uses of module.h
2016-10-19 11:00:03 -05:00
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
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
dlm: remove dlm_send_rcom_lookup_dump
2017-10-09 09:29:31 -05:00
rcom.h
dlm: remove dlm_send_rcom_lookup_dump
2017-10-09 09:29:31 -05:00
recover.c
DLM: retry rcom when dlm_wait_function is timed out.
2017-09-25 12:45:21 -05:00
recover.h
recoverd.c
dlm: recheck kthread_should_stop() before schedule()
2017-09-25 12:48:10 -05:00
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