Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-user-util.c308 TEST(valid_home) { in TEST() argument
309 assert_se(!valid_home(NULL)); in TEST()
310 assert_se(!valid_home("")); in TEST()
311 assert_se(!valid_home(".")); in TEST()
312 assert_se(!valid_home("/home/..")); in TEST()
313 assert_se(!valid_home("/home/../")); in TEST()
314 assert_se(!valid_home("/home\n/foo")); in TEST()
315 assert_se(!valid_home("./piep")); in TEST()
316 assert_se(!valid_home("piep")); in TEST()
317 assert_se(!valid_home("/home/user:lennart")); in TEST()
[all …]
/systemd-251/src/basic/
Duser-util.h106 bool valid_home(const char *p);
114 return valid_home(p); in valid_shell()
Duser-util.c894 bool valid_home(const char *p) { in valid_home() function
/systemd-251/src/sysusers/
Dsysusers.c1588 if (!valid_home(resolved_home)) in parse_line()
/systemd-251/src/shared/
Duser-record.c422 if (!valid_home(n)) in json_dispatch_home_directory()
/systemd-251/src/home/
Dhomectl.c2566 if (!valid_home(hd)) in parse_argv()