run: update dbus unique names check
authorAnita Zhang <the.anitazha@gmail.com>
Thu, 4 Mar 2021 01:25:40 +0000 (17:25 -0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 4 Mar 2021 09:52:13 +0000 (09:52 +0000)
commit01584bf9e43db1dfb7ea4ba628f533b3066e81cc
tree793615fdf974cb50c2a6cb29dc1d06e3434e941f
parentda46a1bc3cd28ac36114002c216196dae004b05c
run: update dbus unique names check

Some code in systemd-run checks that a bus's unique name must start with
`:1.`. However the dbus specification on unique connection names only specifies
that it must begin with a colon. And the freedesktop/dbus implementation allows
allows unique names to go up to `:INT_MAX.INT_MAX`. So update the
current check to only look for a colon at the beginning.
src/run/run.c