From 3096ab0e45351b05b1f1df51cedc183ba6ca7763 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 14 Apr 2015 07:55:23 -0500 Subject: 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....... --- include/unistd.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') 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 @@ int getentropy(void *buf, size_t buflen); #endif -#ifndef HAVE_ISSETUGID -int issetugid(void); -#endif - #endif -- cgit v1.2.3-55-g6feb