Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-user-util.c156 assert_se(!valid_user_group_name("aaa:bbb", VALID_USER_RELAX|VALID_USER_ALLOW_NUMERIC)); in TEST()
157 assert_se(!valid_user_group_name(".aaa:bbb", VALID_USER_RELAX|VALID_USER_ALLOW_NUMERIC)); in TEST()
199 assert_se(!valid_user_group_name("aaa:bbb", VALID_USER_ALLOW_NUMERIC)); in TEST()
208 assert_se(!valid_user_group_name(".aaa:bbb", VALID_USER_ALLOW_NUMERIC)); in TEST()
228 assert_se(!valid_user_group_name(NULL, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
229 assert_se(!valid_user_group_name("", VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
230 assert_se(valid_user_group_name("0", VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
231 assert_se(valid_user_group_name("1", VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
232 assert_se(valid_user_group_name("65534", VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
233 assert_se(!valid_user_group_name("65535", VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX)); in TEST()
[all …]
/systemd-251/src/basic/
Duser-util.h100 VALID_USER_ALLOW_NUMERIC = 1 << 2, enumerator
Duser-util.c741 return FLAGS_SET(flags, VALID_USER_ALLOW_NUMERIC); in valid_user_group_name()
/systemd-251/src/core/
Ddbus-util.c37 return valid_user_group_name(u, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX); in valid_user_group_name_or_id_relaxed()
Ddynamic-user.c120 if (!valid_user_group_name(name, VALID_USER_ALLOW_NUMERIC)) in dynamic_user_acquire()
Dload-fragment.c2585 if (!valid_user_group_name(k, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX|VALID_USER_WARN)) { in config_parse_user_group_compat()
2647 … if (!valid_user_group_name(k, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX|VALID_USER_WARN)) { in config_parse_user_group_strv_compat()
Ddbus-execute.c2057 …if (!isempty(*p) && !valid_user_group_name(*p, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX|VALID_USE… in bus_exec_context_set_transient_property()
/systemd-251/src/libsystemd/sd-bus/
Dsd-bus.c1621 … if (!isempty(user) && !valid_user_group_name(user, VALID_USER_RELAX | VALID_USER_ALLOW_NUMERIC)) in user_and_machine_valid()