diff options
-rw-r--r-- | security/gnome-keyring/files/patch-pam_gkr-pam-client.c | 17 |
1 files changed, 9 insertions, 8 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 index b3f17d2b3..d9300d7cd 100644 --- a/security/gnome-keyring/files/patch-pam_gkr-pam-client.c +++ b/security/gnome-keyring/files/patch-pam_gkr-pam-client.c @@ -1,17 +1,18 @@ --- pam/gkr-pam-client.c.orig 2007-08-10 15:28:07.000000000 -0400 -+++ pam/gkr-pam-client.c 2007-08-14 01:19:08.000000000 -0400 -@@ -29,6 +29,10 @@ ++++ pam/gkr-pam-client.c 2007-08-15 19:37:52.000000000 -0400 +@@ -47,6 +47,11 @@ + #include <ucred.h> + #endif - #include <sys/types.h> - #include <sys/socket.h> +#if defined(LOCAL_PEERCRED) +#include <sys/param.h> +#include <sys/ucred.h> +#endif - #include <sys/un.h> - #include <sys/uio.h> - #include <sys/wait.h> -@@ -90,7 +94,7 @@ check_peer_same_uid (int sock) ++ + #define PAM_APP_NAME "Auto Login (PAM)" + #define PAM_APP_NAME_LEN (sizeof (PAM_APP_NAME) - 1) + +@@ -90,7 +95,7 @@ check_peer_same_uid (int sock) socklen_t xuc_len = sizeof (xuc); if (getsockopt (sock, SOL_SOCKET, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 && |