diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-08 14:44:09 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-08 14:44:09 +0800 |
commit | cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908 (patch) | |
tree | dd0533f5e8616b8152af21c534f00e18fcd0f349 /sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c | |
parent | 213ce9409fd4c2c0e0a59565137e80eb0529a7d8 (diff) | |
download | marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar.gz marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar.bz2 marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar.lz marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar.xz marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.tar.zst marcuscom-ports-cf2086594a8ee7a5b1d54ec1ffbca691ce6b4908.zip |
Update to 0.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10021 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c')
-rw-r--r-- | sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c b/sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c new file mode 100644 index 000000000..cf9689c67 --- /dev/null +++ b/sysutils/policykit/files/patch-src_polkit-grant_polkit-explicit-grant-helper.c @@ -0,0 +1,11 @@ +--- src/polkit-grant/polkit-explicit-grant-helper.c.orig 2007-12-23 01:24:19.000000000 -0500 ++++ src/polkit-grant/polkit-explicit-grant-helper.c 2007-12-23 01:24:24.000000000 -0500 +@@ -67,7 +67,7 @@ main (int argc, char *argv[]) + ret = 1; + + /* clear the entire environment to avoid attacks using with libraries honoring environment variables */ +- if (clearenv () != 0) ++ if (polkit_sysdeps_clearenv () != 0) + goto out; + /* set a minimal environment */ + setenv ("PATH", "/usr/sbin:/usr/bin:/sbin:/bin", 1); |