Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755350AbYCXXFw (ORCPT ); Mon, 24 Mar 2008 19:05:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753112AbYCXXFp (ORCPT ); Mon, 24 Mar 2008 19:05:45 -0400 Received: from x346.tv-sign.ru ([89.108.83.215]:57036 "EHLO mail.screens.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753091AbYCXXFo (ORCPT ); Mon, 24 Mar 2008 19:05:44 -0400 Date: Tue, 25 Mar 2008 02:04:58 +0300 From: Oleg Nesterov To: Pavel Machek Cc: Andrew Morton , "Eric W. Biederman" , Pavel Emelyanov , Stephen Smalley , Roland McGrath , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptrace: it is fun to strace /sbin/init Message-ID: <20080324230458.GA173@tv-sign.ru> References: <20080323135110.GA294@tv-sign.ru> <20080324160102.GB4069@atrey.karlin.mff.cuni.cz> <20080324164059.GA4767@tv-sign.ru> <20080324223925.GD2426@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080324223925.GD2426@elf.ucw.cz> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 21 On 03/24, Pavel Machek wrote: > > > /sbin/init is important, but there are other important (and sometimes > > much more important) services. Why it is so special so that we can't > > debug/strace it? > > Maybe. Let's kill /sbin/init protection in 2.6.26. But making it > optional is wrong. You are right, the boot parameter is silly. How about sysctl? Stephen, do you see any security problems if we make /sbin/init ptraceable by default? Oleg. -- 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/