Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753327AbZIGMZQ (ORCPT ); Mon, 7 Sep 2009 08:25:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753277AbZIGMZO (ORCPT ); Mon, 7 Sep 2009 08:25:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22560 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753005AbZIGMZN (ORCPT ); Mon, 7 Sep 2009 08:25:13 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells Subject: [PATCH] KEYS: Fix default security_session_to_parent() To: jmorris@namei.org, sfr@canb.auug.org.au Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells Date: Mon, 07 Sep 2009 13:24:17 +0100 Message-ID: <20090907122417.754.63235.stgit@warthog.procyon.org.uk> In-Reply-To: <20090907203857.023912f8.sfr@canb.auug.org.au> References: <20090907203857.023912f8.sfr@canb.auug.org.au> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 32 Fix the default security_session_to_parent() in linux/security.h to have a body. Signed-off-by: David Howells --- include/linux/security.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/security.h b/include/linux/security.h index f4eb32d..10a0925 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -2988,7 +2988,10 @@ static inline int security_key_getsecurity(struct key *key, char **_buffer) static inline int security_key_session_to_parent(const struct cred *cred, const struct cred *parent_cred, - struct key *key); + struct key *key) +{ + return 0; +} #endif #endif /* CONFIG_KEYS */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/