aboutsummaryrefslogtreecommitdiff
path: root/linux-user/loader.h
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2024-03-31 13:07:34 +0300
committerRichard Henderson <richard.henderson@linaro.org>2024-04-24 15:46:00 -0700
commit04f6fb897a5aeb3e356a7b889869c9962f9c16c7 (patch)
tree16428da906b97123bd2bb87f154cbd963d947951 /linux-user/loader.h
parent1f2355f53c752297789d431575c4ba975219599c (diff)
linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY
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 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> Message-Id: <20240331100737.2724186-2-mjt@tls.msk.ru> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/loader.h')
0 files changed, 0 insertions, 0 deletions