commit | dd90b01b5502dc66e00ea6a4d00ebdf77ea1eddc | [log] [tgz] |
---|---|---|
author | Samuel Tan <[email protected]> | Thu Aug 13 16:27:29 2015 -0700 |
committer | Samuel Tan <[email protected]> | Tue Aug 18 13:46:49 2015 -0700 |
tree | 5e6ad29a7b7f02e33caf83e5dfe0a2341e5aa066 | |
parent | f20514bf582d08567217a3b06171bab5a11458ea [diff] |
[PATCH] Fix dhcpcd running as a regular user. Cherry-picked from https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ master/net-misc/dhcpcd/files/patches/dhcpcd-6.8.2-Fix-dhcpcd-running-as-a- regular-user.patch. Update the lease file permission to 0600 to prevent other users from reading the lease file. Moreover, also soften the log message shown when not running as root, since by using Linux capabilities dhcpcd can run fine as a regular user. BUG: 22956197 Change-Id: Ib6f4ae4a892c6f5697cd03e79e3aa018b80712fe Reviewed-on: https://gerrit.chromium.org/gerrit/22644