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: <f7b3f055-94da-946e-6a8a-588b24ad9123@kernel.dk>
Date:   Sun, 27 Oct 2019 10:27:47 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     Pavel Begunkov <asml.silence@...il.com>,
        linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] io_uring: remove index from sqe_submit

On 10/27/19 9:52 AM, Pavel Begunkov wrote:
> submit->index is used only for inbound check in submission path (i.e.
> head < ctx->sq_entries). However, it always will be true, as
> 1. it's already validated by io_get_sqring()
> 2. ctx->sq_entries can't be changedd inbetween, because of held
> ctx->uring_lock and ctx->refs.

Applied, thanks.

-- 
Jens Axboe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ