summaryrefslogtreecommitdiff
path: root/security/mate-keyring/files/patch-pam_gkr-pam-client.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-10 13:11:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-10 13:11:28 +0000
commitbcf3a830a4f4c1c5453ee72607fea3aa99a4b5cc (patch)
treee98877eaeb5e2a44f00691183c3f6564168e2955 /security/mate-keyring/files/patch-pam_gkr-pam-client.c
parentStage devel/opengrok and upgrade version 0.11.1 => 0.12.1 (diff)
Welcome Mate Desktop 1.8
The porting work as been done by gnome@ (kwm) and Eric Turgeon (ericturgeon@ghostbsd.org)
Diffstat (limited to 'security/mate-keyring/files/patch-pam_gkr-pam-client.c')
-rw-r--r--security/mate-keyring/files/patch-pam_gkr-pam-client.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/security/mate-keyring/files/patch-pam_gkr-pam-client.c b/security/mate-keyring/files/patch-pam_gkr-pam-client.c
deleted file mode 100644
index c4c0ad88e944..000000000000
--- a/security/mate-keyring/files/patch-pam_gkr-pam-client.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- pam/gkr-pam-client.c.orig 2008-10-07 12:25:23.000000000 -0400
-+++ pam/gkr-pam-client.c 2008-10-07 12:38:36.000000000 -0400
-@@ -96,12 +96,12 @@ check_peer_same_uid (int sock)
- struct xucred xuc;
- socklen_t xuc_len = sizeof (xuc);
-
-- if (getsockopt (sock, SOL_SOCKET, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 &&
-- xuc_len == sizeof (xuc)) {
-+ if (getsockopt (sock, 0, LOCAL_PEERCRED, &xuc, &xuc_len) == 0 &&
-+ xuc.cr_version == XUCRED_VERSION) {
- uid = xuc.cr_uid;
- } else {
- syslog (GKR_LOG_ERR, "could not get mate-keyring-daemon socket credentials, "
-- "(returned len %d/%d)\n", xuc_len, (int)sizeof (xuc));
-+ "(returned version %d/%d)\n", xuc.cr_version, XUCRED_VERSION);
- return -1;
- }
-