[PATCH] make pid_max readable

From: Albert Cahalan (albert@users.sourceforge.net)
Date: Thu Jun 12 2003 - 23:04:02 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:35 EST