lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed,  1 Mar 2023 10:36:39 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     davem@...emloft.net
Cc:     netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
        linux-doc@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net 0/3] tools: ynl: fix subset use and change default value for attrs/ops

Fix a problem in subsetting, which will become apparent when
the devlink family comes after the merge window. Even tho none
of the existing families need this, we don't want someone to
get "inspired" by the current, incorrect code when using specs
in other languages.

Change the default value for the first attr/op. This is a slight
behavior change so needs to go in now. The diffstat of the last
patch should serve as the clearest justification there..

Jakub Kicinski (3):
  tools: ynl: fully inherit attrs in subsets
  tools: ynl: use 1 as the default for first entry in attrs/ops
  netlink: specs: update for codegen enumerating from 1

 Documentation/netlink/specs/ethtool.yaml      | 15 -----------
 Documentation/netlink/specs/fou.yaml          |  2 ++
 Documentation/netlink/specs/netdev.yaml       |  2 --
 Documentation/userspace-api/netlink/specs.rst | 10 +++++--
 tools/net/ynl/lib/nlspec.py                   | 27 ++++++++++++-------
 tools/net/ynl/ynl-gen-c.py                    |  7 +++--
 6 files changed, 32 insertions(+), 31 deletions(-)

-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ