The attached makes the SEGV go away. Just removing SPLICE_F_GIFT isn't sufficient. David --- diff --git a/lib/kcapi-kernel-if.c b/lib/kcapi-kernel-if.c index b4d7f74..33e0337 100644 --- a/lib/kcapi-kernel-if.c +++ b/lib/kcapi-kernel-if.c @@ -321,7 +321,7 @@ ssize_t _kcapi_common_vmsplice_iov(struct kcapi_handle *handle, if (ret) return ret; - ret = vmsplice(handle->pipes[1], iov, iovlen, SPLICE_F_GIFT|flags); + ret = writev(handle->pipes[1], iov, (int)iovlen); if (ret < 0) { ret = -errno; kcapi_dolog(KCAPI_LOG_DEBUG,