chiark / gitweb /
tree-wide: fix write_string_file() user that should not create files
authorDaniel Mack <daniel@zonque.org>
Mon, 6 Jul 2015 23:27:20 +0000 (19:27 -0400)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:05:57 +0000 (10:05 +0100)
commite2f0672c84ecd7c8a7507d6c1d7ebec1f6348524
treee13c9a445d4797b2256d286a30ec035896477bc4
parent1c41caca9ff73085513b988edbb341e076244298
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/shared/smack-util.c
src/shared/sysctl-util.c