diff options
| author | Brent Cook <busterb@gmail.com> | 2015-04-14 07:55:23 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2015-04-14 07:55:23 -0500 |
| commit | 3096ab0e45351b05b1f1df51cedc183ba6ca7763 (patch) | |
| tree | 01cb87f1fd541907d481311064bdab5d2cdf3691 /include | |
| parent | fe3f7fc6365bfaac3418a72256b8c11603e80cbf (diff) | |
| download | portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.tar.gz portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.tar.bz2 portable-3096ab0e45351b05b1f1df51cedc183ba6ca7763.zip | |
remove issetuigid wrappers, now that all getenv calls are gone.
From deraadt@ upstream:
Remove all getenv() calls, especially those wrapped by issetugid().
getenv()'s wrapped by issetugid() are safe, but issetugid() is ...
difficult to impliment on many operating systems. By accident, a grand
experiment was run over the last year, where issetugid() returned 1 (the
safe value) on a few operating systems. Noone noticed & complained that
certain environment variables were not working.......
Diffstat (limited to 'include')
| -rw-r--r-- | include/unistd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/unistd.h b/include/unistd.h index 3aecd68..9b12034 100644 --- a/include/unistd.h +++ b/include/unistd.h | |||
| @@ -12,8 +12,4 @@ | |||
| 12 | int getentropy(void *buf, size_t buflen); | 12 | int getentropy(void *buf, size_t buflen); |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #ifndef HAVE_ISSETUGID | ||
| 16 | int issetugid(void); | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #endif | 15 | #endif |
