tools: ynl: add uns-admin-perm to genetlink legacy
authorDavide Caratti <dcaratti@redhat.com>
Mon, 23 Oct 2023 18:17:05 +0000 (11:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Oct 2023 20:00:31 +0000 (13:00 -0700)
this flag maps to GENL_UNS_ADMIN_PERM and will be used by future specs.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20231023-send-net-next-20231023-1-v2-1-16b1f701f900@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-legacy.yaml

index 565bf615b501ded1f0678a43c2e44baa68be79f2..d858711f317766be509fc322a2d1307e40e0e1e7 100644 (file)
@@ -337,7 +337,7 @@ properties:
               description: Command flags.
               type: array
               items:
-                enum: [ admin-perm ]
+                enum: [ admin-perm, uns-admin-perm ]
             dont-validate:
               description: Kernel attribute validation flags.
               type: array