Re: Limits broken in 2.4.x kernel.

Trond Myklebust
2001-12-18T13:04:36Z

>>>>> " " == 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