lkml.org 
[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] make pid_max readable
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.011 / U:2.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site