AIO operation and CMSG

From: Stephan Müller
Date: Sun Jan 14 2018 - 03:01:33 EST


Hi,

I am working on the user space library providing a wrapper to the AF_ALG user
space interface [1]. The AF_ALG interface supports asynchronous operation
which is utilized with the io_* system calls, including io_submit. All works
as expected.

The syscall io_submit sends data to the kernel and invokes the respective
handler function in the kernel such as the recvmsg handler. What I am
wondering is whether there is a way to send CMSG data along with the io_submit
syscall? If not, is CMSG handling with the AIO syscalls possible at all?

Thank you very much.

[1] http://www.chronox.de/libkcapi.html

Ciao
Stephan