Home
last modified time | relevance | path

Searched refs:user_and_machine (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c1603 static int user_and_machine_valid(const char *user_and_machine) { in user_and_machine_valid() argument
1611 h = strchr(user_and_machine, '@'); in user_and_machine_valid()
1613 h = user_and_machine; in user_and_machine_valid()
1617 user = strndup(user_and_machine, h - user_and_machine); in user_and_machine_valid()
1633 static int user_and_machine_equivalent(const char *user_and_machine) { in user_and_machine_equivalent() argument
1643 assert(user_and_machine); in user_and_machine_equivalent()
1647 if (streq(user_and_machine, "@.host")) in user_and_machine_equivalent()
1654 if (uid == 0 && STR_IN_SET(user_and_machine, ".host", "root@.host", "0@.host")) in user_and_machine_equivalent()
1661 f = startswith(user_and_machine, buf); in user_and_machine_equivalent()
1667 f = startswith(user_and_machine, un); in user_and_machine_equivalent()
[all …]