From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752806AbeANIBF (ORCPT + 1 other); Sun, 14 Jan 2018 03:01:05 -0500 Received: from mail.eperm.de ([89.247.134.16]:58264 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751465AbeANIBE (ORCPT ); Sun, 14 Jan 2018 03:01:04 -0500 From: Stephan =?ISO-8859-1?Q?M=FCller?= To: linux-kernel@vger.kernel.org Subject: AIO operation and CMSG Date: Sun, 14 Jan 2018 09:01:00 +0100 Message-ID: <6214924.yszrlpR4T4@positron.chronox.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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