diff options
| author | Todd Poynor <toddpoynor@google.com> | 2017-04-13 15:17:24 -0700 |
|---|---|---|
| committer | Todd Poynor <toddpoynor@google.com> | 2017-04-13 18:03:59 -0700 |
| commit | fc827be3f9fd76b98859b0c9fe3e79d0d426c3cf (patch) | |
| tree | 0c84c8dd4f474da932cbe963d40782ee916e5ada /libcutils/socket_local_server_unix.cpp | |
| parent | e092b72bf493ffb45013acb4b0ed567339446b18 (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 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
