Thread (2 messages) 2 messages, 2 authors, 2014-11-30

Re: kdbus: add documentation

flat view

From: David Herrmann <hidden>
Date: 2014-11-30 17:15:17
Also in: lkml

Hi

On Sun, Nov 30, 2014 at 10:02 AM, Florian Weimer [off-list ref] wrote:
* Greg Kroah-Hartman:
quoted
+7.4 Receiving messages
quoted
+Also, if the connection allowed for file descriptor to be passed
+(KDBUS_HELLO_ACCEPT_FD), and if the message contained any, they will be
+installed into the receiving process after the KDBUS_CMD_MSG_RECV ioctl
+returns. The receiving task is obliged to close all of them appropriately.
What happens if this is not possible because the file descriptor limit
of the processes would be exceeded?  EMFILE, and the message will not
be received?
The message is returned without installing the FDs. This is signaled
by EMFILE, but a valid pool offset.

Thanks
David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help