Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765099AbXHNXnW (ORCPT ); Tue, 14 Aug 2007 19:43:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755674AbXHNXnM (ORCPT ); Tue, 14 Aug 2007 19:43:12 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:60856 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750874AbXHNXnL (ORCPT ); Tue, 14 Aug 2007 19:43:11 -0400 Date: Wed, 15 Aug 2007 01:43:01 +0200 From: Adrian Bunk To: "Serge E. Hallyn" Cc: Adrian Bunk , Andrew Morton , James Morris , chrisw@sous-sol.org, linux-kernel@vger.kernel.org Subject: Re: [-mm patch] unexport cap_inode_killpriv Message-ID: <20070814234301.GG18945@stusta.de> References: <20070809224254.11f42716.akpm@linux-foundation.org> <20070814212613.GY18945@stusta.de> <20070814213502.GA14497@sergelap.austin.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070814213502.GA14497@sergelap.austin.ibm.com> User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1716 Lines: 54 On Tue, Aug 14, 2007 at 04:35:02PM -0500, Serge E. Hallyn wrote: > Quoting Adrian Bunk (bunk@kernel.org): > > On Thu, Aug 09, 2007 at 10:42:54PM -0700, Andrew Morton wrote: > > >... > > > Changes since 2.6.23-rc1-mm2: > > >... > > > +file-capabilities-clear-fcaps-on-inode-change.patch > > > > > > file caps update > > >... > > > > This patch removes the unused EXPORT_SYMBOL(cap_inode_killpriv). > > > > Signed-off-by: Adrian Bunk > > Acked-by: Serge Hallyn > > > --- > > 68ca3bcc4918d0b84a97318f60fb74c4600d9f6b > > diff --git a/security/commoncap.c b/security/commoncap.c > > index 7816cdc..9ec5890 100644 > > --- a/security/commoncap.c > > +++ b/security/commoncap.c > > @@ -543,7 +543,6 @@ EXPORT_SYMBOL(cap_bprm_apply_creds); > > EXPORT_SYMBOL(cap_bprm_secureexec); > > EXPORT_SYMBOL(cap_inode_setxattr); > > EXPORT_SYMBOL(cap_inode_removexattr); > > -EXPORT_SYMBOL(cap_inode_killpriv); > > EXPORT_SYMBOL(cap_task_post_setuid); > > EXPORT_SYMBOL(cap_task_kill); > > EXPORT_SYMBOL(cap_task_setscheduler); > > Ah yes, bc LSMs can't be modules any more. But then, why still export > cap_task_setscheduler, for instance? Look at my next patch. :-) > -serge cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/