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]
Date: Wed, 15 Nov 2023 16:39:30 +0000
From: David Howells <dhowells@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: dhowells@...hat.com, Christian Brauner <christian@...uner.io>,
    Jens Axboe <axboe@...nel.dk>, Al Viro <viro@...iv.linux.org.uk>,
    Christoph Hellwig <hch@....de>,
    David Laight <David.Laight@...lab.com>,
    Matthew Wilcox <willy@...radead.org>,
    Brendan Higgins <brendanhiggins@...gle.com>,
    David Gow <davidgow@...gle.com>, linux-fsdevel@...r.kernel.org,
    linux-block@...r.kernel.org, linux-mm@...ck.org,
    netdev@...r.kernel.org, linux-kselftest@...r.kernel.org,
    kunit-dev@...glegroups.com, linux-kernel@...r.kernel.org,
    Andrew Morton <akpm@...ux-foundation.org>,
    Christian Brauner <brauner@...nel.org>,
    David Hildenbrand <david@...hat.com>,
    John Hubbard <jhubbard@...dia.com>,
    Huacai Chen <chenhuacai@...nel.org>, WANG Xuerui <kernel@...0n.name>,
    Heiko Carstens <hca@...ux.ibm.com>,
    Vasily Gorbik <gor@...ux.ibm.com>,
    Alexander Gordeev <agordeev@...ux.ibm.com>,
    Christian Borntraeger <borntraeger@...ux.ibm.com>,
    Sven Schnelle <svens@...ux.ibm.com>, loongarch@...ts.linux.dev,
    linux-s390@...r.kernel.org
Subject: Re: [PATCH v3 05/10] iov_iter: Create a function to prepare userspace VM for UBUF/IOVEC tests

Linus Torvalds <torvalds@...ux-foundation.org> wrote:

> From a quick look, what you were doing was checking that the patterns
> you set up in user space came through ok. Dammit, what's wrong with
> just using read()/write() on a pipe, or splice, or whatever. It will
> test exactly the same iov_iter thing.

I was trying to make it possible to do these tests before starting userspace
as there's a good chance that if the UBUF/IOVEC iterators don't work right
then your system can't be booted.

Anyway, if I drop patches 5, 6, 7 and 10 (ie. the ones doing stuff with UBUF
and IOVEC-type iterators), would you be okay with the rest?

David


Powered by blists - more mailing lists