[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: [Patch] Moving FD passing into the header
From: Thiago Macieira <thiago () kde ! org>
Date: 2010-06-23 17:34:41
Message-ID: 201006231934.41810.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 23 June 2010 19:07:56 Colin Walters wrote:
> On Wed, Jun 23, 2010 at 11:49 AM, Lennart Poettering <mzqohf@0pointer.de>
wrote:
> > Such an approach would suggest itself if we had more than one type of
> > OOB data to pass around. But I don't really see that. Looking through
> > the man pages on Linux only three kinds of data can be sent out-of-band
> > really so far:
> >
> >
> > SCM_CREDENTIALS (which we already cover a different way)
> > SO_TIMESTAMP (which is kinda useless here I think)
> > SCM_RIGHTS
>
> These are for sockets; DBus is higher level. For example, it might
> also make sense to later add "large read-only buffer" as an
> out-of-band type.
Well, there are out-of-band metadata in the message header, like the flag for
starting the service and the serials. Other such information could be
conceivably added.
But I think it's really on a case-by-case basis: is this new data something
that could be ignored by existing apps?
The serial is information that is normally ignored. Most apps also don't care
what the sender of a message is.
But I argue that most apps WILL care whether a file descriptor was passed or
not. It's not optional, OOB metadata: it's part of the functionality of the
function.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic