[PATCH] make pid_max readable

Albert Cahalan (albert@users.sourceforge.net)
Fri, 13 Jun 2003 00:04:02 -0400


This is needed so that apps can set appropriate column
widths for PID display.

diff -Naurd old-2.5.70/kernel/sysctl.c new-2.5.70/kernel/sysctl.c
--- old-2.5.70/kernel/sysctl.c 2003-06-12 23:43:00.000000000 -0400
+++ new-2.5.70/kernel/sysctl.c 2003-06-12 23:44:18.000000000 -0400
@@ -539,7 +539,7 @@
.procname = "pid_max",
.data = &pid_max,
.maxlen = sizeof (int),
- .mode = 0600,
+ .mode = 0644,
.proc_handler = &proc_dointvec,
},
{

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