diff options
| author | Maxime Coste <mawww@kakoune.org> | 2016-12-15 23:47:34 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2016-12-15 23:47:34 +0000 |
| commit | 831887cd3a5b2b71dbb3ef1b25fd0220ea7230d7 (patch) | |
| tree | 3561d09f6c35d4395051d186f74ccb75952ddbfa /src/file.hh | |
| parent | 9a879262a272bd4c6458fcfa07a9289ee41d7220 (diff) | |
Improve general security of the unix sockets
* Use the stricky bit on the shared kakoune folder
* Do not allow read/write access to user folder
* Respect $TMPDIR when set
Fixes #1007
Diffstat (limited to 'src/file.hh')
| -rw-r--r-- | src/file.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.hh b/src/file.hh index 89d4e45e..006d0cfd 100644 --- a/src/file.hh +++ b/src/file.hh @@ -56,7 +56,7 @@ bool file_exists(StringView filename); Vector<String> list_files(StringView directory); -void make_directory(StringView dir); +void make_directory(StringView dir, mode_t mode); timespec get_fs_timestamp(StringView filename); |
