Re: Limits broken in 2.4.x kernel.

Trond Myklebust (trond.myklebust@fys.uio.no)
18 Dec 2001 14:03:48 +0100


>>>>> " " == Andrew Morton <akpm@zip.com.au> 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/