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: <20240409170644.GE2118490@ZenIV>
Date: Tue, 9 Apr 2024 18:06:44 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Jens Axboe <axboe@...nel.dk>
Cc: linux-fsdevel@...r.kernel.org, brauner@...nel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] iov_iter: add copy_to_iter_full()

On Tue, Apr 09, 2024 at 09:22:15AM -0600, Jens Axboe wrote:
> Add variant of copy_to_iter() that either copies the full amount asked
> for and return success, or ensures that the iov_iter is back to where
> it started on failure and returns false.

FWIW, see git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git #work.iov_iter

There was an open-coded instance (skb_copy_linear()) that I'd converted to
that helper in the same commit; I can split it, of course, but I don't
see much point in that.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ