qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: YunQiang Su <ysu@wavecomp.com>, Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH] linux-user/syscall.c: fix setsockopt(SOL_ALG, ALG_SET_KEY)
Date: Sun, 31 Mar 2024 07:53:11 -1000	[thread overview]
Message-ID: <467864a1-e3fe-4f92-aa80-c4da3a5484fd@linaro.org> (raw)
In-Reply-To: <20240331084825.2716833-1-mjt@tls.msk.ru>

On 3/30/24 22:48, Michael Tokarev wrote:
> This setsockopt accepts zero-lengh optlen (current qemu implementation
> does not allow this).  Also, there's no need to make a copy of the key,
> it is enough to use lock_user() (which accepts zero-length length already).
> 
> Resolves:https://gitlab.com/qemu-project/qemu/-/issues/2197
> Fixes: f31dddd2fc "linux-user: Add support for setsockopt() option SOL_ALG"
> Signed-off-by: Michael Tokarev<mjt@tls.msk.ru>

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~


      reply	other threads:[~2024-03-31 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-31  8:48 [PATCH] linux-user/syscall.c: fix setsockopt(SOL_ALG, ALG_SET_KEY) Michael Tokarev
2024-03-31 17:53 ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467864a1-e3fe-4f92-aa80-c4da3a5484fd@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=ysu@wavecomp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).