fs-util: rename path_is_safe() → path_is_normalized()
authorLennart Poettering <lennart@poettering.net>
Fri, 27 Oct 2017 14:28:15 +0000 (16:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Nov 2017 10:13:44 +0000 (11:13 +0100)
commit99be45a46fc9b45046a0f7b83a9f3e321f29d2da
tree725cda8b33bb95a6eb2dd5bf29f9ea0d405db178
parent5db9818772757bd6ad431a17cecc38320211c72b
fs-util: rename path_is_safe() → path_is_normalized()

Already, path_is_safe() refused paths container the "." dir. Doing that
isn't strictly necessary to be "safe" by most definitions of the word.
But it is necessary in order to consider a path "normalized". Hence,
"path_is_safe()" is slightly misleading a name, but
"path_is_normalize()" is more descriptive, hence let's rename things
accordingly.

No functional changes.
src/basic/cgroup-util.c
src/basic/fs-util.c
src/basic/path-util.c
src/basic/path-util.h
src/basic/unit-name.c
src/basic/user-util.c
src/core/dbus-execute.c
src/core/load-fragment.c
src/core/unit.c
src/machine/machine-dbus.c
src/mount/mount-tool.c