diff options
| author | Nick Kralevich <nnk@google.com> | 2010-08-31 18:17:31 -0700 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2010-09-01 14:44:54 -0700 |
| commit | 05f0382bcf11d96760ee8cf9110099a1661eed7c (patch) | |
| tree | 985953553de3b1b525757b5110f0aab261c9f123 /docs/html/sdk/api_diff/5/changes.html | |
| parent | 81f339bcfeee5dccb284cdeac6941179f91fe08b (diff) | |
When dropping privileges, check return values.
setuid() and family can fail. Check return values to make
sure this doesn't happen unexpectedly.
Also call setgid() to drop root group permissions.
Change-Id: Id06fbe6239e2ed2fe23368695e333514e0581e6d
Diffstat (limited to 'docs/html/sdk/api_diff/5/changes.html')
0 files changed, 0 insertions, 0 deletions
