]> git-server-git.apps.pok.os.sepia.ceph.com Git - fscrypt.git/commit
use alternative ioctl when adding key if getting EOVERFLOW
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 12 May 2023 19:55:42 +0000 (15:55 -0400)
committerIgor Golikov <igolikov@ibm.com>
Thu, 13 Feb 2025 15:26:56 +0000 (17:26 +0200)
commit4c39ca0171e3c0ef01c968497d21e2d3171bd335
tree8061a1d8a6b436c21dfbf19979aba1a78ac003e9
parent7a17e3a0f1e9c0dfa7eae11816f55c820f689d4f
use alternative ioctl when adding key if getting EOVERFLOW

This can indicate that we're using a fuse filesystem that cannot
handle the specific ioctl, as there is a mismatch between the
declared ioctl size and the data that was sent.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
keyring/fs_keyring.go
keyring/fscrypt_uapi.h [new file with mode: 0644]