Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761012AbYCCVUp (ORCPT ); Mon, 3 Mar 2008 16:20:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754084AbYCCVUf (ORCPT ); Mon, 3 Mar 2008 16:20:35 -0500 Received: from namei.org ([69.55.235.186]:42034 "EHLO us.intercode.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753651AbYCCVUe (ORCPT ); Mon, 3 Mar 2008 16:20:34 -0500 Date: Tue, 4 Mar 2008 08:18:47 +1100 (EST) From: James Morris X-X-Sender: jmorris@us.intercode.com.au To: "Ahmed S. Darwish" cc: Chris Wright , Stephen Smalley , Eric Paris , Casey Schaufler , David Woodhouse , Paul Moore , Andrew Morton , LKML , Audit-ML , LSM-ML Subject: Re: [PATCH 1/9] LSM: Introduce inode_getsecid and ipc_getsecid hooks In-Reply-To: <20080301195109.GB19636@ubuntu> Message-ID: References: <20080301194752.GA19636@ubuntu> <20080301195109.GB19636@ubuntu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 24 On Sat, 1 Mar 2008, Ahmed S. Darwish wrote: > Introduce inode_getsecid(inode, secid) and ipc_getsecid(ipcp, secid) > LSM hooks. These hooks will be used instead of similar exported > SELinux interfaces. > > Let {inode,ipc,task}_getsecid hooks set the secid to 0 by default > if CONFIG_SECURITY is not defined or if the hook is set to > NULL (dummy). This is done to notify the caller that no valid > secid exists. > > Signed-off-by: Casey Schaufler > Signed-off-by: Ahmed S. Darwish Acked-by: James Morris -- James Morris -- 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/