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]
Message-ID: <20251127123502.89142-1-donald.hunter@gmail.com>
Date: Thu, 27 Nov 2025 12:34:58 +0000
From: Donald Hunter <donald.hunter@...il.com>
To: Jakub Kicinski <kuba@...nel.org>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Paolo Abeni <pabeni@...hat.com>,
	Simon Horman <horms@...nel.org>,
	Andrew Lunn <andrew@...n.ch>,
	"Matthieu Baerts (NGI0)" <matttbe@...nel.org>,
	Chuck Lever <chuck.lever@...cle.com>,
	Florian Westphal <fw@...len.de>,
	"Remy D. Farley" <one-d-wide@...tonmail.com>,
	"Kory Maincent (Dent Project)" <kory.maincent@...tlin.com>,
	Gal Pressman <gal@...dia.com>,
	Oleksij Rempel <o.rempel@...gutronix.de>,
	Stanislav Fomichev <sdf@...ichev.me>,
	Jan Stancek <jstancek@...hat.com>,
	Hangbin Liu <liuhangbin@...il.com>,
	Nimrod Oren <noren@...dia.com>,
	netdev@...r.kernel.org
Cc: Donald Hunter <donald.hunter@...il.com>
Subject: [PATCH net-next v1 0/4] tools: ynl: add schema checking

Add schema checking and yaml linting for the YNL specs.

Patch 1 adds a schema_check make target using a pyynl --validate option
Patch 2 adds a lint make target using yamllint
Patches 3,4 fix issues reported by make -C tools/net/ynl lint schema_check

Donald Hunter (4):
  tools: ynl: add schema checking
  tools: ynl: add a lint makefile target
  ynl: fix a yamllint warning in ethtool spec
  ynl: fix schema check errors

 Documentation/netlink/specs/conntrack.yaml |  2 +-
 Documentation/netlink/specs/ethtool.yaml   |  2 +-
 Documentation/netlink/specs/nftables.yaml  |  2 +-
 tools/net/ynl/Makefile                     | 22 +++++++++++++++++++++-
 tools/net/ynl/pyynl/cli.py                 | 21 ++++++++++++++++-----
 5 files changed, 40 insertions(+), 9 deletions(-)

-- 
2.51.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ