Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760758Ab0FQVGn (ORCPT ); Thu, 17 Jun 2010 17:06:43 -0400 Received: from xenotime.net ([72.52.115.56]:33956 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1760727Ab0FQVGl (ORCPT ); Thu, 17 Jun 2010 17:06:41 -0400 Date: Thu, 17 Jun 2010 14:06:30 -0700 From: Randy Dunlap To: Alan Cox Cc: Kees Cook , James Morris , linux-kernel@vger.kernel.org, Andrew Morton , Jiri Kosina , Dave Young , Martin Schwidefsky , Roland McGrath , Oleg Nesterov , "H. Peter Anvin" , David Howells , Ingo Molnar , Peter Zijlstra , "Eric W. Biederman" , linux-doc@vger.kernel.org, Stephen Smalley , Daniel J Walsh , linux-security-module@vger.kernel.org Subject: Re: [PATCH] ptrace: allow restriction of ptrace scope Message-Id: <20100617140630.c6ced27a.rdunlap@xenotime.net> In-Reply-To: <20100617215349.2fac02f5@lxorguk.ukuu.org.uk> References: <20100616221833.GM24749@outflux.net> <20100617000120.13071be8@lxorguk.ukuu.org.uk> <20100616232230.GP24749@outflux.net> <20100617170453.GV24749@outflux.net> <20100617215349.2fac02f5@lxorguk.ukuu.org.uk> Organization: YPO4 X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 934 Lines: 25 On Thu, 17 Jun 2010 21:53:49 +0100 Alan Cox wrote: > > > SELinux users would not need the other LSM, and stacking is thus not > > > required. > > > > But if a user wants to disable ptrace using the SELinux LSM and then > > also disable sticky-symlinks via the ItsHideous LSM, they're out of luck. > > Thats a nonsensical configuration so we don't care. If you are using > SELinux you just do it via SELinux. If you are doing it via > UbuntuHasToBeDifferent then you do it via that. Well, surely there are people who use something other than Ubuntu and also care about not using SELinux... eh? --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- 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/