chiark / gitweb /
core: be more paranoid when mixing umask and fopen()
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Apr 2016 14:15:26 +0000 (16:15 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:57 +0000 (10:12 +0200)
commit13e2b6689d7729cf201e4f2ac43278f11c811bc8
tree09dd071c26dc132b3bd361f38661352bfd85c262
parentf446ee404a6f2b58dbbf1c065595bd9c1daaf027
core: be more paranoid when mixing umask and fopen()

Let's be extra careful with the umask when we use simple fopen(), as this
creates files with 0777 by default.
src/basic/util.c