commit | c16961b8c3b932716b2e576c5877d39411b453cc | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Jan 25 13:07:31 2013 -0800 |
committer | Nick Kralevich <nnk@google.com> | Fri Jan 25 13:07:31 2013 -0800 |
tree | 06678c237ade4a15cfdf977235212dc6582ab50d | |
parent | 82ef8296dc5e25b9cc8e7231f9515f50185dac9d [diff] |
system_properties: do more checking of file Check that the permissions on the properties file are exactly as we expect them to be. Make sure we close the fd if fstat fails. Refactor the code slightly. Change-Id: I5503fd58c3b8093ce7e6d05920748ed70eaf8e2c