From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932823Ab2HWMsp (ORCPT ); Thu, 23 Aug 2012 08:48:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11357 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817Ab2HWMsn (ORCPT ); Thu, 23 Aug 2012 08:48:43 -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 In-Reply-To: <50352873.9070706@schaufler-ca.com> References: <50352873.9070706@schaufler-ca.com> To: Casey Schaufler Cc: dhowells@redhat.com, LKLM , LSM Subject: Re: [PATCH] Smack: setprocattr memory leak fix Date: Thu, 23 Aug 2012 13:48:37 +0100 Message-ID: <27988.1345726117@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Casey Schaufler wrote: > From: Casey Schaufler > Subject: [PATCH] Smack: setprocattr memory leak fix > > The data structure allocations being done in prepare_creds > are duplicated in smack_setprocattr. This results in the > structure allocated in prepare_creds being orphaned and > never freed. The duplicate code is removed from > smack_setprocattr. > > Targeted for git://git.gitorious.org/smack-next/kernel.git > > Signed-off-by: Casey Schaufler Acked-by: David Howells Note that I do have a patch to make Smack share rule lists - I've posted it a number of times, but I take it you're not interested. 5707 06/13 [To:casey@schauf] [PATCH 1/3] Smack: Constify some pointers<