Re: pid_max madness

From: Grzegorz Piotr Jaskiewicz
Date: Wed Nov 17 2004 - 16:11:35 EST


William Lee Irwin III wrote:
On Wed, Nov 17, 2004 at 09:12:07PM +0100, Grzegorz Piotr Jaskiewicz wrote:

Let's do:
#echo "-1" >/proc/sys/kernel/pid_max
#cat /proc/sys/kernel/pid_max
-1
#
Madness, isn't ?
I guess that isn't what author ment it to behave like.
Anyway, does it mean that after max unsigned value is reached pids are going to be negative in value ??


Kernel version please?
all 2.6.x on intel86, this exact one is 2.6.9.
on 2.6.10-rc1-mm4 it doesn't change it anymore.

--
GJ

-rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/