summaryrefslogtreecommitdiff
path: root/pam/gkr-pam-stubs.c
diff options
context:
space:
mode:
authorStefan Walter <stefw@src.gnome.org>2007-07-22 19:28:50 +0000
committerStefan Walter <stefw@src.gnome.org>2007-07-22 19:28:50 +0000
commit32c0ac10e6ad98708ad92e04717811fd2f05c40d (patch)
treeac8a04215d63c86b0446ea3cc8813780ccbeb826 /pam/gkr-pam-stubs.c
parentc30b681479a55b76df81cde7b909cabe066243b9 (diff)
downloadgnome-keyring-32c0ac10e6ad98708ad92e04717811fd2f05c40d.tar.gz
Now uses the 'login' keyring instead of the default. Added support for
* daemon/gnome-keyring-daemon.c: * library/gnome-keyring.h: * library/gnome-kerying-opcodes.h: (added) * library/gnome-keyring-proto.h: * library/gnome-keyring-result.h: (added) * pam/gkr-pam.h: (added) * pam/gkr-pam-client.c: (added) * pam/gkr-pam-module.c: * pam/gkr-pam-stubs.c: (added) * pam/Makefile.am: Now uses the 'login' keyring instead of the default. Added support for unlocking an already running keyring. Fixes bug #459071. Added initial support for changing passwords on the 'login' keyring. See bug #459069 svn path=/trunk/; revision=709
Diffstat (limited to 'pam/gkr-pam-stubs.c')
-rw-r--r--pam/gkr-pam-stubs.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/pam/gkr-pam-stubs.c b/pam/gkr-pam-stubs.c
new file mode 100644
index 00000000..9558aed5
--- /dev/null
+++ b/pam/gkr-pam-stubs.c
@@ -0,0 +1,41 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/* gkr-pam-stubs.c - Stubs to allow linking memory code
+
+ Copyright (C) 2007 Stef Walter
+
+ The Gnome Keyring Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The Gnome Keyring Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the Gnome Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Author: Stef Walter <stef@memberwebs.com>
+*/
+
+#include "common/gkr-secure-memory.h"
+
+/*
+ * These are called from gkr-secure-memory.c to provide appropriate
+ * locking for memory between threads
+ */
+
+void
+gkr_memory_lock (void)
+{
+ /* No threads in PAM, no locking */
+}
+
+void
+gkr_memory_unlock (void)
+{
+ /* No threads in PAM, no locking */
+}