diff options
| author | Todd Poynor <toddpoynor@google.com> | 2017-04-13 15:17:24 -0700 |
|---|---|---|
| committer | Todd Poynor <toddpoynor@google.com> | 2017-04-13 15:48:11 -0700 |
| commit | dff584659c7aa04e9eea109b560beef69cc2cccd (patch) | |
| tree | f64765848a0c8c55617f0df68bb6e92af76030c3 /base/errors_unix.cpp | |
| parent | 1c438c1baac44bf368ee1b1503fc003bad20a20e (diff) | |
reboot: fix owner and permissions of last_reboot_reason file
Default signature WriteStringToFile creates world-writeable files.
Set owner and group system and remove read/write for non-owner.
Bug: 37251463
Test: Manual: reboot, inspect
Change-Id: I6a29c678168dcae611b120dc52170f4eee7069a9
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
