Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752581AbXA3Ige (ORCPT ); Tue, 30 Jan 2007 03:36:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752559AbXA3Ige (ORCPT ); Tue, 30 Jan 2007 03:36:34 -0500 Received: from smtp.sws.net.au ([61.95.69.6]:53048 "EHLO smtp.sws.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbXA3Igd convert rfc822-to-8bit (ORCPT ); Tue, 30 Jan 2007 03:36:33 -0500 X-Greylist: delayed 1904 seconds by postgrey-1.27 at vger.kernel.org; Tue, 30 Jan 2007 03:36:32 EST From: Russell Coker Reply-To: russell@coker.com.au To: Stephen Smalley Subject: Re: [PATCH] sysctl selinux: Don't look at table->de Date: Tue, 30 Jan 2007 10:28:51 +1100 User-Agent: KMail/1.9.5 Cc: "Eric W. Biederman" , Andrew Morton , Ingo Molnar , tglx@linutronix.de, linux-kernel@vger.kernel.org, selinux@tycho.nsa.gov, jmorris@namei.org References: <200701280106.l0S16CG3019873@shell0.pdx.osdl.net> <1170096231.8720.102.camel@moss-spartans.epoch.ncsc.mil> In-Reply-To: <1170096231.8720.102.camel@moss-spartans.epoch.ncsc.mil> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200701301028.56693.russell@coker.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1628 Lines: 34 On Tuesday 30 January 2007 05:43, Stephen Smalley wrote: > True, but a system that disables proc is likely a system with a custom > policy anyway, In practice we have to extensively customise policy long before getting to the non-proc stage of optimising for small hardware. The Familiar distribution (used on the iPaQ) has /proc but needs significant policy changes when compared to a typical Fedora workstation. Not only is there the issue that embedded distributions have different daemons and path names to workstations, but the memory constraints mean that even a modular targeted policy is not as small as you desire. > and dependency on proc is fairly basic to selinux these > days (due to reliance on /proc/self/attr for process attribute > manipulation in place of the old selinux syscalls).  Possibly we should > just make selinux depend on proc and drop the #ifdef there. I think that is the correct thing to do. Someone who is prepared to do all the work needed to get a recent SE Linux system operating without /proc will have no problem changing the kernel config scripts and everyone else would be better off not being confused by being offered sets of options that are not viable. -- russell@coker.com.au http://etbe.blogspot.com/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development - 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/