Hyphens (-) in unique names

Havoc Pennington hp at redhat.com
Mon Oct 17 20:20:27 PDT 2005


On Mon, 2005-10-17 at 19:33 -0400, John (J5) Palmieri wrote:
> I still haven't heard from Waldo on a checkin he made that allowed
> hyphens in bus names and unique names. Since - is allowed  :- is a valid
> unique name now as is :0-4.  Is this acceptable to everyone, in which
> case those two test cases will stay removed from the test suite.

":" can't be allowed at the start; it breaks guaranteed semantics and
could be a security issue if clients are allowed to "spoof" a unique
name.

> Note, that if there is no good reason to have the dash other than
> ascetics I'm going to revert the patch since it is inconsistent with
> other naming rules.  Waldo, I need to know why you added it.  If it is
> for the dbus/dcop stuff you are working on then it is fine and can stay.

That is why he put it in, there's a mail in the archives about it
iirc...

Havoc




More information about the dbus mailing list