Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753463AbXLKVSW (ORCPT ); Tue, 11 Dec 2007 16:18:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751389AbXLKVSO (ORCPT ); Tue, 11 Dec 2007 16:18:14 -0500 Received: from web36606.mail.mud.yahoo.com ([209.191.85.23]:24395 "HELO web36606.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751036AbXLKVSN (ORCPT ); Tue, 11 Dec 2007 16:18:13 -0500 X-YMail-OSG: IWfFFRQVM1nMig9UGw38fM1wnNPaChsbYOneT7C30XO2J77eiohacOBaUO2VWCHwt9TRbcbJDw-- X-RocketYMMF: rancidfat Date: Tue, 11 Dec 2007 13:18:12 -0800 (PST) From: Casey Schaufler Reply-To: casey@schaufler-ca.com Subject: Re: [PATCH 08/28] SECURITY: Allow kernel services to override LSM settings for task actions [try #2] To: David Howells , Stephen Smalley Cc: dhowells@redhat.com, Karl MacMillan , viro@ftp.linux.org.uk, hch@infradead.org, Trond.Myklebust@netapp.com, casey@schaufler-ca.com, linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov, linux-security-module@vger.kernel.org In-Reply-To: <9789.1197405725@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <395440.2938.qm@web36606.mail.mud.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 24 --- David Howells wrote: ... > > How about I just stick the context in /etc/cachefilesd.conf as a textual > configuration item and have the daemon pass that as a string to the > cachefiles > kernel module, which can then ask LSM if it's valid to set this context as an > override, given the daemon's own security context? That seems entirely > reasonable to me. Works for Smack. I can't say definitively, but I think it will work for SELinux. Beyond that and we're into the fuzzy bit of the LSM. Casey Schaufler casey@schaufler-ca.com -- 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/