Closed sebastinas closed 2 months ago
On GitLab by @jpalus on Nov 6, 2023, 22:26
Noticed today that :print started to hang zathura entirely. No print dialog is shown, no CPU is used, zathura can only be killed. After some debugging it turns out to be a problem with default sandbox that explicitly disallows vmsplice.
:print
zathura
vmsplice
In my particular setup I'm connecting to network CUPS printer over secure connection using GnuTLS configured to make use of AF_ALG kernel crypto API through libkcapi which in turn makes use of vmsplice: https://github.com/smuellerDD/libkcapi/blob/0e3e2032a97c51697a5134ca6eabbd5708e9498a/lib/kcapi-kernel-if.c#L324
CUPS
GnuTLS
AF_ALG
libkcapi
mentioned in commit 17cb9c82e2fcb969e3d8a5e54e20d7baba6d6a35
On GitLab by @jpalus on Dec 8, 2023, 18:42
mentioned in commit c52142f6cf4ccd953aa203bfa2aec96f052ae4fd
On GitLab by @jpalus on Nov 6, 2023, 22:26
Noticed today that
:print
started to hangzathura
entirely. No print dialog is shown, no CPU is used,zathura
can only be killed. After some debugging it turns out to be a problem with default sandbox that explicitly disallowsvmsplice
.In my particular setup I'm connecting to network
CUPS
printer over secure connection usingGnuTLS
configured to make use ofAF_ALG
kernel crypto API throughlibkcapi
which in turn makes use ofvmsplice
: https://github.com/smuellerDD/libkcapi/blob/0e3e2032a97c51697a5134ca6eabbd5708e9498a/lib/kcapi-kernel-if.c#L324