summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-24 18:42:13 +0200
committerLennart Poettering <lennart@poettering.net>2019-05-08 12:36:20 +0200
commit50ccd8645379e2c36f6437f6ef6ddb4d49e59342 (patch)
tree45e50d4a23a70e252e72f7cf347e72705fd5210e /src/basic/fileio.h
parentMerge pull request #12489 from ssahani/vxlan (diff)
downloadsystemd-50ccd8645379e2c36f6437f6ef6ddb4d49e59342.tar.xz
systemd-50ccd8645379e2c36f6437f6ef6ddb4d49e59342.zip
fileio: add new WRITE_STRING_FILE_MKDIR_0755 flag for mkdir'ing parent
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r--src/basic/fileio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h
index eb551c7ac1..05f6c89da0 100644
--- a/src/basic/fileio.h
+++ b/src/basic/fileio.h
@@ -21,6 +21,7 @@ typedef enum {
WRITE_STRING_FILE_SYNC = 1 << 4,
WRITE_STRING_FILE_DISABLE_BUFFER = 1 << 5,
WRITE_STRING_FILE_NOFOLLOW = 1 << 6,
+ WRITE_STRING_FILE_MKDIR_0755 = 1 << 7,
/* And before you wonder, why write_string_file_atomic_label_ts() is a separate function instead of just one
more flag here: it's about linking: we don't want to pull -lselinux into all users of write_string_file()