Skip to contentSkip to conversation

make pid_max readable

PATCH New Albert Cahalan 1 participant 1 message Jun 13, 2003 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make pid_max readable

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

kernel/sysctl.c +1 -1
diff -Naurd old-2.5.70/kernel/sysctl.c new-2.5.70/kernel/sysctl.c
@@ -539,7 +539,7 @@
 		.procname	= "pid_max",
 		.data		= &pid_max,
 		.maxlen		= sizeof (int),
-		.mode		= 0600,
+		.mode		= 0644,
 		.proc_handler	= &proc_dointvec,
 	},
 	{