commit | 3ff527c8b5ab153016b7d86a1cf3be2e3e6c97c8 | [log] [tgz] |
---|---|---|
author | mukesh agrawal <quiche@chromium.org> | Tue Apr 08 17:07:56 2014 -0700 |
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | Thu Apr 10 01:17:15 2014 +0000 |
tree | d2b8ffa7ba2f39dadee4de0674232e58023320a7 | |
parent | 27e81ef0f8b06269f8f92fff427b823a3548737b [diff] |
shill: refactor umask handling At present, KeyFileStore manually sets and restores the umask when updating the file on disk. Factor this out into a re-usable scoped_umask class. BUG=None TEST=compile Change-Id: I8a0b8f52553d6d03336be68c35ad1f703a0a26de Reviewed-on: https://chromium-review.googlesource.com/193695 Tested-by: mukesh agrawal <quiche@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: mukesh agrawal <quiche@chromium.org>