[systemd-devel] [PATCHv2] bus-driverd: Fix return code in driver_request_name

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Dec 17 06:54:52 PST 2013


On Tue, Dec 17, 2013 at 02:31:42PM +0100, Lukasz Skalski wrote:
> RequestName return codes should be consistent with Dbus Specification.
> 
> VALUE - DESCRIPTION
> 1-The caller is now the primary owner of the name, replacing any previous owner,
> 2-The name already had an owner (QUEUE flag was not specified),
> 3-The name already has an owner (QUEUE flag was specified),
> 4-Application trying to request ownership of a name is already the owner of it.
Please turn this into an enum.

Zbyszek


More information about the systemd-devel mailing list