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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK-6q+hO7byb-MRSd1U64-CMLrjrDdHfV5WLjK4dscCgxFSMOA@mail.gmail.com>
Date: Sun, 8 Jun 2025 11:57:09 -0400
From: Alexander Aring <aahringo@...hat.com>
To: Ramon Fontes <ramonreisfontes@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>, davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, 
	linux-wpan@...r.kernel.org, alex.aring@...il.com, miquel.raynal@...tlin.com, 
	netdev@...r.kernel.org
Subject: Re: [PATCH] mac802154_hwsim: allow users to specify the number of
 simulated radios dinamically instead of the previously hardcoded value of 2

Hi,

On Sat, Jun 7, 2025 at 5:42 PM Ramon Fontes <ramonreisfontes@...il.com> wrote:
>
> Ok! Just a last question:
>
> Shouldn't we define a maximum number of supported radios when using
> unsigned? A value like -1 would wrap around and result in thousands of
> radios, right?
> That said, wouldn't it be simpler and safer to just use int instead?

there is no limitation to add some during runtime. It requires root
permissions and you need to know what you are doing when you are root.

- Alex


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ