Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757541AbbDWIjk (ORCPT ); Thu, 23 Apr 2015 04:39:40 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:34797 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757191AbbDWIjL (ORCPT ); Thu, 23 Apr 2015 04:39:11 -0400 Date: Thu, 23 Apr 2015 10:38:59 +0200 From: Michele Curti To: Havoc Pennington Cc: Austin S Hemmelgarn , Linus Torvalds , Andy Lutomirski , "Eric W. Biederman" , Greg Kroah-Hartman , Andrew Morton , Arnd Bergmann , One Thousand Gnomes , Tom Gundersen , Jiri Kosina , Linux Kernel Mailing List , Daniel Mack , David Herrmann , Djalal Harouni Subject: Re: Issues with capability bits and meta-data in kdbus Message-ID: <20150423083859.GA5277@dellaz> References: <87lhhv36je.fsf@x220.int.ebiederm.org> <20150414175534.GB3974@kroah.com> <87oamhmbso.fsf_-_@x220.int.ebiederm.org> <553788A9.6090006@gmail.com> <20150422143515.GA23155@dellaz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1846 Lines: 42 On Wed, Apr 22, 2015 at 04:02:34PM -0400, Havoc Pennington wrote: > On Wed, Apr 22, 2015 at 10:35 AM, Michele Curti wrote: > > > > Just out of curiosity, would you like to change something in dbus design, > > if you didn't have to worry about ABI breaks and the like? > > > > Good question. I can't remember any big-picture things, I'm sure the > current maintainers and users have a longer list. :-) There are a > variety of little small things, some examples I can immediately think > of: > > * the ad hoc authentication protocol is sort of ugly > * the byte order marker in every message is silly > * protocol version in every message is useless > * Ryan Lortie's nice fixes in GVariant, which I think kdbus adopts ( > https://people.gnome.org/~ryanl/gvariant-serialisation.pdf ), for the > most part these are 'cleanups' but nullable types ("maybe" types for > Haskell fans) are a notable semantic addition > * specify how it works on Windows, the Windows port last I checked > (years ago) didn't do things in a Windows-sensible way > * specify what happens when resource limits are reached > * wouldn't use XML for introspection data these days > http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format > Nice, thanks! It seems that all of these are userspace related only. Yes I saw a "gvariant readme" in systemd sources, now I understood what it is (I'm not an expert) :D My only fear was that kdbus was trying to keep something that even dbus himself don't want. But it seems that this is not the case. Thanks, regards, Michele -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/