Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756123AbXJCRVT (ORCPT ); Wed, 3 Oct 2007 13:21:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752003AbXJCRVK (ORCPT ); Wed, 3 Oct 2007 13:21:10 -0400 Received: from web36604.mail.mud.yahoo.com ([209.191.85.21]:42273 "HELO web36604.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751282AbXJCRVJ (ORCPT ); Wed, 3 Oct 2007 13:21:09 -0400 X-YMail-OSG: hUCjLFgVM1kzDCSvTeI.bazx41wuwRQUz2UGZkvHy5suV8Qf2xkX082cuNUwusy5aHEH2TIxNA-- X-RocketYMMF: rancidfat Date: Wed, 3 Oct 2007 10:21:08 -0700 (PDT) From: Casey Schaufler Reply-To: casey@schaufler-ca.com Subject: Re: [PATCH] Version 4 (2.6.23-rc8-mm2) Smack: Simplified Mandatory Access Control Kernel To: Al Viro , Casey Schaufler Cc: torvalds@osdl.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org, paul.moore@hp.com In-Reply-To: <20071003051254.GH8181@ftp.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <287091.73995.qm@web36604.mail.mud.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3225 Lines: 83 --- Al Viro wrote: > On Tue, Oct 02, 2007 at 09:45:42PM -0700, Casey Schaufler wrote: > > > > From: Casey Schaufler > > > > Smack is the Simplified Mandatory Access Control Kernel. > > > > Smack implements mandatory access control (MAC) using labels > > attached to tasks and data containers, including files, SVIPC, > > and other tasks. Smack is a kernel based scheme that requires > > an absolute minimum of application support and a very small > > amount of configuration data. > > I _really_ don't like what you are doing with these symlinks. > For one thing, you have no exclusion between reading the list > entries and modifying them. That's easy enough to fix. I'll do it. > For another... WTF is filesystem > making assumptions about the locations where the things are > mounted? I assume by this that you're objecting to the initialization of /smack/tmp to point to /moldy/