diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2024-03-08 11:12:39 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 23:09:15 +0300 |
commit | 44208f59362e7099877f9ba79e1472f6bd321e2e (patch) | |
tree | 7a4523049ba1c4d74c4b95c09cf175a0fbc4f305 /Documentation/netlink/genetlink-c.yaml | |
parent | 8d0c314c30c9fe7f755d941f5d65a6e427518048 (diff) | |
download | linux-44208f59362e7099877f9ba79e1472f6bd321e2e.tar.xz |
netlink: specs: support unterminated-ok
ynl-gen-c.py supports check unterminated-ok, but the yaml schemas don't
have this key. Add this to the yaml files.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240308081239.3281710-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink/genetlink-c.yaml')
-rw-r--r-- | Documentation/netlink/genetlink-c.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-c.yaml b/Documentation/netlink/genetlink-c.yaml index 24692a9343f0..de786e2d35bf 100644 --- a/Documentation/netlink/genetlink-c.yaml +++ b/Documentation/netlink/genetlink-c.yaml @@ -209,6 +209,11 @@ properties: exact-len: description: Exact length for a string or a binary attribute. $ref: '#/$defs/len-or-define' + unterminated-ok: + description: | + For string attributes, do not check whether attribute + contains the terminating null character. + type: boolean sub-type: *attr-type display-hint: &display-hint description: | |