From: Jeff Layton Subject: [PATCH v2 11/12] cifscreds: use the session keyring Date: Thu, 15 Dec 2011 13:12:15 -0500 Message-ID: <1323972736-15804-12-git-send-email-jlayton@samba.org> References: <1323972736-15804-1-git-send-email-jlayton@samba.org> To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: In-Reply-To: <1323972736-15804-1-git-send-email-jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: This seems like a reasonable change, but I'm willing to listen to arguments to the contrary... cifscreds currently hangs the keys off of the uid keyring. It seems more appropriate though that we require that each session have its own set. Signed-off-by: Jeff Layton --- cifscreds.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cifscreds.c b/cifscreds.c index cbd431e..6079b38 100644 --- a/cifscreds.c +++ b/cifscreds.c @@ -51,7 +51,7 @@ #define DOMAIN_DISALLOWED_CHARS "\\/:*?\"<>|" /* destination keyring */ -#define DEST_KEYRING KEY_SPEC_USER_KEYRING +#define DEST_KEYRING KEY_SPEC_SESSION_KEYRING struct cmdarg { char *host; -- 1.7.1