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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251124184935.6c4ceb3d@kernel.org>
Date: Mon, 24 Nov 2025 18:49:35 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Wei <dw@...idwei.uk>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
 willemb@...gle.com, petrm@...dia.com, shuah@...nel.org,
 linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next 1/5] selftests: hw-net: auto-disable building
 the iouring C code

On Sat, 22 Nov 2025 16:55:05 -0800 David Wei wrote:
> > +# Check if io_uring supports zero-copy receive
> > +HAS_IOURING_ZCRX := $(shell \
> > +	echo -e '#include <liburing.h>\n' \
> > +	     'void *func = (void *)io_uring_register_ifq;\n' \
> > +	     'int main() {return 0;}' | \
> > +	$(CC) -luring -x c - -o /dev/null 2>&1 && echo y)
> > +
> > +ifeq ($(HAS_IOURING_ZCRX),y)
> > +COND_GEN_FILES += iou-zcrx
> > +else
> > +$(warning excluding iouring tests, liburing not installed or too old)  
> 
> Would you want to mention the min ver needed (2.10)?

I think people would update to latest upstream if they update?
I suspect we'll have to update this check if new dependencies
come up, the version will become stale..

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ