diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-12 12:53:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 12:53:37 +0200 |
commit | 24d169e092b31c7f54fa49a86b8167aac4385ed3 (patch) | |
tree | f085c41ad9e41e9d1c8790e6a02f0e3c74cd98c2 /src/basic/path-util.h | |
parent | journal: forward messages from /dev/log unmodified to syslog.socket (diff) | |
parent | tree-wide: use PATH_STARTSWITH_SET() at two more places (diff) | |
download | systemd-24d169e092b31c7f54fa49a86b8167aac4385ed3.tar.xz systemd-24d169e092b31c7f54fa49a86b8167aac4385ed3.zip |
Merge pull request #9255 from poettering/block-dev-fixes
some block device handling fixes
Diffstat (limited to 'src/basic/path-util.h')
-rw-r--r-- | src/basic/path-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/path-util.h b/src/basic/path-util.h index d8a923d3cd..486046f861 100644 --- a/src/basic/path-util.h +++ b/src/basic/path-util.h @@ -147,7 +147,9 @@ char *file_in_same_dir(const char *path, const char *filename); bool hidden_or_backup_file(const char *filename) _pure_; bool is_device_path(const char *path); -bool is_deviceallow_pattern(const char *path); + +bool valid_device_node_path(const char *path); +bool valid_device_allow_pattern(const char *path); int systemd_installation_has_version(const char *root, unsigned minimal_version); |