diff options
author | Nick Kralevich <nnk@google.com> | 2013-09-17 14:43:12 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2013-09-17 14:46:00 -0700 |
commit | 5535b05120fa3fd3d68a09e01284aba35cc6e058 (patch) | |
tree | 883ad4da63ed9b809fcb100f7366dd843f281bf0 /logwrapper/logwrapper.c | |
parent | 3a0d4b34816d65e21951f44e4d98a954c5c855ae (diff) | |
download | system_core-5535b05120fa3fd3d68a09e01284aba35cc6e058.zip system_core-5535b05120fa3fd3d68a09e01284aba35cc6e058.tar.gz system_core-5535b05120fa3fd3d68a09e01284aba35cc6e058.tar.bz2 |
write_file: introduce O_NOFOLLOW, use sane mask
Don't follow symlinks when writing to a file.
Don't create world-writable files.
Bug: 10802869
Change-Id: Ifb55600d574307a535df878acb3347e02028cd30
Diffstat (limited to 'logwrapper/logwrapper.c')
0 files changed, 0 insertions, 0 deletions