mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
netlink: specs: add dump-strict flag for dont-validate property
Allow user to specify GENL_DONT_VALIDATE_DUMP_STRICT flag for validation and add this flag to netlink spec schema. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230803111340.1074067-2-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
86b7e033d6
commit
78c96d7b7c
@ -274,7 +274,7 @@ properties:
|
||||
description: Kernel attribute validation flags.
|
||||
type: array
|
||||
items:
|
||||
enum: [ strict, dump ]
|
||||
enum: [ strict, dump, dump-strict ]
|
||||
do: &subop-type
|
||||
description: Main command handler.
|
||||
type: object
|
||||
|
@ -321,7 +321,7 @@ properties:
|
||||
description: Kernel attribute validation flags.
|
||||
type: array
|
||||
items:
|
||||
enum: [ strict, dump ]
|
||||
enum: [ strict, dump, dump-strict ]
|
||||
# Start genetlink-legacy
|
||||
fixed-header: *fixed-header
|
||||
# End genetlink-legacy
|
||||
|
@ -243,7 +243,7 @@ properties:
|
||||
description: Kernel attribute validation flags.
|
||||
type: array
|
||||
items:
|
||||
enum: [ strict, dump ]
|
||||
enum: [ strict, dump, dump-strict ]
|
||||
do: &subop-type
|
||||
description: Main command handler.
|
||||
type: object
|
||||
|
Loading…
Reference in New Issue
Block a user