Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946405AbWJSTup (ORCPT ); Thu, 19 Oct 2006 15:50:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946407AbWJSTup (ORCPT ); Thu, 19 Oct 2006 15:50:45 -0400 Received: from nf-out-0910.google.com ([64.233.182.188]:29025 "EHLO nf-out-0910.google.com") by vger.kernel.org with ESMTP id S1946405AbWJSTuo (ORCPT ); Thu, 19 Oct 2006 15:50:44 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ehRKcVLavSnrerukRmPiyn6m8vn+FXRx6DHIDZT4Z1BStPnuo0SjJA+NAxeFqn0udyB6Qyl5SphWsWJKnQjJiy1sD4SnvpBqLOpCoqAj9e6j/rHGvgBAmgYNhRHJb/T4YwfU5ZQi4AbEQGnFFWGvgdIQWfV4EMwacsOLAyhnc6A= Date: Thu, 19 Oct 2006 23:50:40 +0400 From: Alexey Dobriyan To: Cal Peake Cc: "Eric W. Biederman" , Andrew Morton , Linus Torvalds , Albert Cahalan , linux-kernel Subject: Re: [RFC] [PATCH] Improve the remove sysctl warnings. Message-ID: <20061019195040.GA5392@martell.zuzino.mipt.ru> References: <787b0d920610181123q1848693ajccf7a91567e54227@mail.gmail.com> <20061018124415.e45ece22.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 23 On Thu, Oct 19, 2006 at 12:25:20PM -0400, Cal Peake wrote: > On Wed, 18 Oct 2006, Eric W. Biederman wrote: > > > if (msg_count < 5) { > > msg_count++; > > printk(KERN_INFO > > "warning: process `%s' used the removed sysctl " > > - "system call\n", current->comm); > > + "system call with ", current->comm); > > + for (i = 0; i < tmp.nlen; i++) > > + printk("%d.", name[i]); > > + printk("\n"); > > } > > We should prolly kill the counter now. sysctl(2) callable by everyone including local lusers willing to fill logs. - 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/