Re: Limits broken in 2.4.x kernel.

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Tue Dec 18 2001 - 08:03:48 EST


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



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:15 EST