Re: [PATCH 05/15] tools/nolibc: add getrandom()

2025-04-28 Thread Thomas Weißschuh
On Sat, Apr 26, 2025 at 12:31:58PM +0200, Willy Tarreau wrote: > Hi Thomas, > > On Wed, Apr 23, 2025 at 05:01:35PM +0200, Thomas Weißschuh wrote: > > --- /dev/null > > +++ b/tools/include/nolibc/sys/random.h > > @@ -0,0 +1,32 @@ > > +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ > > +/* > > + * r

Re: [PATCH 05/15] tools/nolibc: add getrandom()

2025-04-26 Thread Willy Tarreau
Hi Thomas, On Wed, Apr 23, 2025 at 05:01:35PM +0200, Thomas Weißschuh wrote: > --- /dev/null > +++ b/tools/include/nolibc/sys/random.h > @@ -0,0 +1,32 @@ > +/* SPDX-License-Identifier: LGPL-2.1 OR MIT */ > +/* > + * random definitions for NOLIBC > + * Copyright (C) 2025 Thomas Weißschuh > + */ >

[PATCH 05/15] tools/nolibc: add getrandom()

2025-04-23 Thread Thomas Weißschuh
This is used in various selftests and will be handy when integrating those with nolibc. Signed-off-by: Thomas Weißschuh --- tools/include/nolibc/Makefile| 1 + tools/include/nolibc/nolibc.h| 1 + tools/include/nolibc/sys/random.h| 32