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
| ||
|
Message-ID: <20231005072151.2a71ec59@kernel.org> Date: Thu, 5 Oct 2023 07:21:51 -0700 From: Jakub Kicinski <kuba@...nel.org> To: Jiri Pirko <jiri@...nulli.us> Cc: netdev@...r.kernel.org, pabeni@...hat.com, davem@...emloft.net, edumazet@...gle.com, donald.hunter@...il.com Subject: Re: [patch net-next v2 3/3] tools: ynl-gen: raise exception when subset attribute contains more than "name" key On Thu, 5 Oct 2023 09:25:55 +0200 Jiri Pirko wrote: > >> The only key used in the elem dictionary is "name" to lookup the real > >> attribute of a set. Raise exception in case there are other keys > >> present. > > > >Mm, there are definitely other things that can be set. I'm not fully > > Which ones? The name is used, the rest is ignored in the existing code. > I just make this obvious to the user. If future show other keys are > needed here, the patch adding that would just adjust the exception > condition. Do you see any problem in that? Just don't want to give people the impression that this is what's intended, rather than it was simply not implemented yet. If you want to keep the exception please update the message (and the if, no outer brackets necessary in Python ;)).
Powered by blists - more mailing lists