summaryrefslogtreecommitdiff
path: root/sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c')
-rw-r--r--sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c b/sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c
deleted file mode 100644
index 8337a1e767d4..000000000000
--- a/sysutils/policykit/files/patch-src_polkit-grant_polkit-revoke-helper.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/polkit-grant/polkit-revoke-helper.c.orig 2008-04-08 12:23:22.000000000 -0400
-+++ src/polkit-grant/polkit-revoke-helper.c 2008-04-21 23:38:11.000000000 -0400
-@@ -112,15 +112,8 @@ main (int argc, char *argv[])
-
- #ifndef POLKIT_BUILD_TESTS
- /* clear the entire environment to avoid attacks using with libraries honoring environment variables */
--#ifdef HAVE_SOLARIS
-- extern char **environ;
--
-- if (environ != NULL)
-- environ[0] = NULL;
--#else
-- if (clearenv () != 0)
-+ if (kit_clearenv () != 0)
- goto out;
--#endif
- /* set a minimal environment */
- setenv ("PATH", "/usr/sbin:/usr/bin:/sbin:/bin", 1);
- #endif