Searched refs:valid_home (Results 1 – 6 of 6) sorted by relevance
308 TEST(valid_home) { in TEST() argument309 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 …]
106 bool valid_home(const char *p);114 return valid_home(p); in valid_shell()
894 bool valid_home(const char *p) { in valid_home() function
1588 if (!valid_home(resolved_home)) in parse_line()
422 if (!valid_home(n)) in json_dispatch_home_directory()
2566 if (!valid_home(hd)) in parse_argv()