Home
last modified time | relevance | path

Searched refs:filename_is_valid (Results 1 – 25 of 45) sorted by relevance

12

/systemd-251/src/test/
Dtest-path-util.c879 TEST(filename_is_valid) { in TEST() argument
882 assert_se(!filename_is_valid("")); in TEST()
883 assert_se(!filename_is_valid("/bar/foo")); in TEST()
884 assert_se(!filename_is_valid("/")); in TEST()
885 assert_se(!filename_is_valid(".")); in TEST()
886 assert_se(!filename_is_valid("..")); in TEST()
887 assert_se(!filename_is_valid("bar/foo")); in TEST()
888 assert_se(!filename_is_valid("bar/foo/")); in TEST()
889 assert_se(!filename_is_valid("bar//")); in TEST()
894 assert_se(!filename_is_valid(foo)); in TEST()
[all …]
/systemd-251/src/integritysetup/
Dintegritysetup.c127 if (!filename_is_valid(volume)) in run()
180 if (!filename_is_valid(volume)) in run()
/systemd-251/src/veritysetup/
Dveritysetup.c153 if (!filename_is_valid(volume)) in run()
220 if (!filename_is_valid(volume)) in run()
/systemd-251/src/sysupdate/
Dsysupdate-util.c10 if (!filename_is_valid(s)) in version_is_valid()
/systemd-251/src/basic/
Dtmpfile-util.c115 if (!filename_is_valid(nf)) /* New name is not valid? (Maybe because too long?) Refuse. */ in tempfn_xxxxxx()
157 if (!filename_is_valid(nf)) /* Not valid? (maybe because too long now?) — refuse early */ in tempfn_random()
Dmountpoint-util.c151 return filename_is_valid(s); in filename_possibly_with_slash_suffix()
160 return filename_is_valid(copied); in filename_possibly_with_slash_suffix()
Dsyslog-util.c114 if (!filename_is_valid(s)) in log_namespace_name_valid()
Dpath-util.h157 bool filename_is_valid(const char *p) _pure_;
Dlocale-util.c247 if (!filename_is_valid(name)) in locale_is_valid()
Dos-util.c22 if (!filename_is_valid(s)) in image_name_is_valid()
Dmkdir.c216 if (!filename_is_valid(bn)) in mkdir_p_root()
Dfs-util.c982 if (!filename_is_valid(ss)) in parse_cifs_service()
1034 if (!filename_is_valid(path)) { in open_mkdir_at()
/systemd-251/src/shared/
Duserdb-dropin.c119 …if (!filename_is_valid(j)) /* Doesn't qualify as valid filename? Then it's definitely not provided… in dropin_user_record_by_name()
263 …if (!filename_is_valid(j)) /* Doesn't qualify as valid filename? Then it's definitely not provided… in dropin_group_record_by_name()
Dlockfile-util.c93 if (!filename_is_valid(fn)) in make_lock_file_for()
Dkbd-util.c123 if (!filename_is_valid(name)) in keymap_is_valid()
Dmkfs-util.c23 if (!filename_is_valid(mkfs)) /* refuse file system types with slashes and similar */ in mkfs_exists()
Defi-loader.c255 if (!filename_is_valid(s)) /* Make sure entry names fit in filenames */ in efi_loader_entry_name_valid()
Ddropin.c43 if (!filename_is_valid(b)) in drop_in_file()
Drm-rf.c394 if (!filename_is_valid(name)) in rm_rf_child()
/systemd-251/src/binfmt/
Dbinfmt.c50 if (!filename_is_valid(rulename) || in apply_rule()
/systemd-251/src/journal/
Djournald-native.c361 if (!filename_is_valid(e)) { in server_process_native_file()
/systemd-251/src/portable/
Dportablectl.c152 if (!filename_is_valid(name)) in extract_prefix()
1340 if (!filename_is_valid(optarg)) in parse_argv()
/systemd-251/src/mount/
Dmount-tool.c1124 if (!filename_is_valid(escaped)) in acquire_mount_where()
1254 if (!filename_is_valid(escaped)) in discover_loop_backing_file()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c473 if (!filename_is_valid(combined)) { in mount_legacy_cgns_unsupported()
/systemd-251/src/import/
Dpull-common.c351 if (!filename_is_valid(fn)) in verify_one()

12