diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2018-08-22 05:23:00 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2018-08-23 11:00:34 -0700 |
| commit | 315f9b042237200174a1fb99427f74027e191d66 (patch) | |
| tree | 8451aa6f72e232ce1ebdb7d79e393f4de26cc0a6 /go.mod | |
| parent | 3022c1603d968c22f147b4a2c49c4637dd1be91b (diff) | |
Ensure keyring privilege changes are reversible
This change makes sure that, when we set the ruid and euid in order to
get the user keyring linked into the current process keyring, we will
always be able to reverse these changes (using a suid of 0).
This fixes an issue where "su <user>" would result in a system error
when called by an unprivileged user. It also explains exactly how and
why we are making these privilege changes.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions