summaryrefslogtreecommitdiffstats
path: root/security/gnome-keyring/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-13 04:51:25 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-13 04:51:25 +0800
commit04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac (patch)
tree8ae0e2441824d774db657eda6757ebba7158f3ed /security/gnome-keyring/files
parentbccdfb569786d52fc058312dca26fc382e7af447 (diff)
downloadmarcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar.gz
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar.bz2
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar.lz
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar.xz
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.tar.zst
marcuscom-ports-04e9657a0cbc0dc0aa05cbdf470f3404aaf44eac.zip
Update to 2.19.90.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9380 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/gnome-keyring/files')
-rw-r--r--security/gnome-keyring/files/patch-pam_gkr-pam-client.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/gnome-keyring/files/patch-pam_gkr-pam-client.c b/security/gnome-keyring/files/patch-pam_gkr-pam-client.c
new file mode 100644
index 000000000..2d4f5f87d
--- /dev/null
+++ b/security/gnome-keyring/files/patch-pam_gkr-pam-client.c
@@ -0,0 +1,19 @@
+--- pam/gkr-pam-client.c.orig 2007-08-12 16:42:30.000000000 -0400
++++ pam/gkr-pam-client.c 2007-08-12 16:43:46.000000000 -0400
+@@ -29,6 +29,7 @@
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <sys/ucred.h>
+ #include <sys/un.h>
+ #include <sys/uio.h>
+ #include <sys/wait.h>
+@@ -90,7 +91,7 @@ check_peer_same_uid (int sock)
+ socklen_t xuc_len = sizeof (xuc);
+
+ if (getsockopt (sock, SOL_SOCKET, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 &&
+- xuc_len == sizeof (xuc) {
++ xuc_len == sizeof (xuc)) {
+ uid = xuc.cr_uid;
+ } else {
+ syslog (GKR_LOG_ERR, "could not get gnome-keyring-daemon socket credentials, "