Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Dec 2001 08:04:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Dec 2001 08:04:27 -0500 Received: from pat.uio.no ([129.240.130.16]:62921 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id ; Tue, 18 Dec 2001 08:04:07 -0500 To: Andrew Morton Cc: war , linux-kernel@vger.kernel.org, Linus Torvalds , Alan Cox Subject: Re: Limits broken in 2.4.x kernel. In-Reply-To: <3C1E5A88.57F5A68A@starband.net> <3C1E5A88.57F5A68A@starband.net> <3C1E86BD.43EAB279@zip.com.au> From: Trond Myklebust Date: 18 Dec 2001 14:03:48 +0100 In-Reply-To: <3C1E86BD.43EAB279@zip.com.au> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> " " == Andrew Morton writes: > reparent_to_init() needs to decrement current->user's processes > count, and increment root's. I'll do a patch. Please just convert 'set_user()' into a non-static routine. Calling set_user(0, 1) would do precisely what you want, and the same thing could then be used for kmod. There's no real reason for having several different local hacks that all do the same thing kicking around the place. Cheers, Trond - 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/