summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-03 12:52:16 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-03 19:59:18 +0100
commitfdb9161cd3e1a64eb9a653a6bf69596670d6e942 (patch)
tree1e3bf14a87ebea497cf9829d3070e02f27308749 /src/shared/util.h
parente59749b1f8a960060b7b8e850cc79f97ddaf2db4 (diff)
conf-parser: warn when we open configuration files with weird access bits
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index e4de4728bd..219e4897b3 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -867,3 +867,5 @@ int writev_safe(int fd, const struct iovec *w, int j);
int mkostemp_safe(char *pattern, int flags);
int open_tmpfile(const char *path, int flags);
+
+int fd_warn_permissions(const char *path, int fd);