Searched refs:VALID_USER_ALLOW_NUMERIC (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/test/ |
D | test-user-util.c | 156 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/ |
D | user-util.h | 100 VALID_USER_ALLOW_NUMERIC = 1 << 2, enumerator
|
D | user-util.c | 741 return FLAGS_SET(flags, VALID_USER_ALLOW_NUMERIC); in valid_user_group_name()
|
/systemd-251/src/core/ |
D | dbus-util.c | 37 return valid_user_group_name(u, VALID_USER_ALLOW_NUMERIC|VALID_USER_RELAX); in valid_user_group_name_or_id_relaxed()
|
D | dynamic-user.c | 120 if (!valid_user_group_name(name, VALID_USER_ALLOW_NUMERIC)) in dynamic_user_acquire()
|
D | load-fragment.c | 2585 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()
|
D | dbus-execute.c | 2057 …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/ |
D | sd-bus.c | 1621 … if (!isempty(user) && !valid_user_group_name(user, VALID_USER_RELAX | VALID_USER_ALLOW_NUMERIC)) in user_and_machine_valid()
|