]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/sysctl-util.c
tree-wide: fix write_string_file() user that should not create files 500/head
authorDaniel Mack <daniel@zonque.org>
Mon, 6 Jul 2015 23:27:20 +0000 (19:27 -0400)
committerDaniel Mack <daniel@zonque.org>
Mon, 6 Jul 2015 23:27:20 +0000 (19:27 -0400)
commitad118bda159d3f9c27c5a15ace54cf808a6e8788
tree43eeba4758137b413f7f80f29dd41ded3004d051
parent4c1fc3e404d648c70bd2f50ac50aeac6ece8872e
tree-wide: fix write_string_file() user that should not create files

The latest consolidation cleanup of write_string_file() revealed some users
of that helper which should have used write_string_file_no_create() in the
past but didn't. Basically, all existing users that write to files in /sys
and /proc should not expect to write to a file which is not yet existant.
src/basic/smack-util.c
src/binfmt/binfmt.c
src/core/execute.c
src/nspawn/nspawn.c
src/shared/sysctl-util.c
src/udev/udevd.c
src/vconsole/vconsole-setup.c