-
- Downloads
bootconfig: Reject subkey and value on same parent key
Reject if a value node is mixed with subkey node on same parent key node. A value node can not co-exist with subkey node under some key node, e.g. key = value key.subkey = another-value This is not be allowed because bootconfig API is not designed to handle such case. Link: http://lkml.kernel.org/r/158220115232.26565.7792340045009731803.stgit@devnote2 Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
Showing
- Documentation/admin-guide/bootconfig.rst 7 additions, 0 deletionsDocumentation/admin-guide/bootconfig.rst
- lib/bootconfig.c 12 additions, 4 deletionslib/bootconfig.c
- tools/bootconfig/samples/bad-mixed-kv1.bconf 3 additions, 0 deletionstools/bootconfig/samples/bad-mixed-kv1.bconf
- tools/bootconfig/samples/bad-mixed-kv2.bconf 3 additions, 0 deletionstools/bootconfig/samples/bad-mixed-kv2.bconf
Loading
Please register or sign in to comment