diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-07-24 01:52:30 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2008-07-24 01:52:30 +0000 |
commit | 9fa9fd880c9578b7e1a598c63db0a2386ac753f6 (patch) | |
tree | d4e9c80afc4508f5003136d297fff2442b8d8f9a /sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c | |
parent | - Add sample rc.d script to package (diff) |
Update to 0.9.
Diffstat (limited to 'sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c')
-rw-r--r-- | sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c b/sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c deleted file mode 100644 index ab5d0fbfe184..000000000000 --- a/sysutils/policykit/files/patch-src_polkit-grant_polkit-grant-helper.c +++ /dev/null @@ -1,28 +0,0 @@ ---- src/polkit-grant/polkit-grant-helper.c.orig 2008-04-08 12:23:22.000000000 -0400 -+++ src/polkit-grant/polkit-grant-helper.c 2008-04-21 23:58:24.000000000 -0400 -@@ -57,6 +57,8 @@ - - #include <glib.h> - -+#include <kit/kit.h> -+ - #include <polkit-dbus/polkit-dbus.h> - // #include <polkit/polkit-grant-database.h> - -@@ -564,15 +566,8 @@ main (int argc, char *argv[]) - ret = 3; - - /* 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); - |