From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: kdbus: add documentation Date: Tue, 20 Jan 2015 09:09:58 +0100 Message-ID: <54BE0D56.5090301@gmail.com> References: <1416546149-24799-1-git-send-email-gregkh@linuxfoundation.org> <1416546149-24799-2-git-send-email-gregkh@linuxfoundation.org> <871tolysbb.fsf@mid.deneb.enyo.de> <87vblwtxee.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <87vblwtxee.fsf-ZqZwdwZz9NfTBotR3TxKnbNAH6kLmebB@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Florian Weimer , David Herrmann , Greg Kroah-Hartman , Daniel Mack Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Arnd Bergmann , "Eric W. Biederman" , One Thousand Gnomes , Tom Gundersen , Jiri Kosina , Andy Lutomirski , Linux API , linux-kernel , Djalal Harouni List-Id: linux-api@vger.kernel.org Daniel, David, On 11/30/2014 06:23 PM, Florian Weimer wrote: > * David Herrmann: >=20 >> On Sun, Nov 30, 2014 at 10:02 AM, Florian Weimer = wrote: >>> * Greg Kroah-Hartman: >>> >>>> +7.4 Receiving messages >=20 >>> What happens if this is not possible because the file descriptor li= mit >>> of the processes would be exceeded? EMFILE, and the message will n= ot >>> be received? >> >> The message is returned without installing the FDs. This is signaled >> by EMFILE, but a valid pool offset. >=20 > Oh. This is really surprising, so it needs documentation. But it's > probably better than the alternative (return EMFILE and leave the > message stuck, so that you receive it immediately again=97this behavi= or > makes non-blocking accept rather difficult to use correctly). So, was this point in the end explicitly documented? I not obvious that it is documented in the revised kdbus.txt that Greg K-H sent out 4 days ago. Thanks, Michael --=20 Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/