commit | b2a678ec655825bcba58d7f8d51ad40bad33ed6e | [log] [tgz] |
---|---|---|
author | Ricky Zhou <[email protected]> | Thu Sep 22 00:15:01 2016 |
committer | chrome-bot <[email protected]> | Thu Sep 22 09:53:02 2016 |
tree | 8daf6ed16f02550dd68350ce95ca9a378132c46a | |
parent | 816849bd43c6152da9c1d516f5a4928338e37e3d [diff] |
login: Prefer /run over /var/run. /var lives on the stateful partition, while /run is a tmpfs. Normally, /var/run is a symlink to /run, but if a device is compromised, the contents of /var cannot be trusted. BUG=chromium:649039 TEST=Can boot/login with changes. Change-Id: I06aa3491ad4897eecafe835611a0d837b22faef4 Reviewed-on: https://chromium-review.googlesource.com/388145 Commit-Ready: Ricky Zhou <[email protected]> Tested-by: Ricky Zhou <[email protected]> Reviewed-by: Mattias Nissler <[email protected]> Reviewed-by: Dylan Reid <[email protected]>