patch-1.3.68 linux/fs/proc/base.c

Next file: linux/fs/proc/inode.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.67/linux/fs/proc/base.c linux/fs/proc/base.c
@@ -83,6 +83,12 @@
 void proc_base_init(void)
 {
 	proc_register(&proc_pid, &(struct proc_dir_entry) {
+		PROC_PID_STATUS, 6, "status",
+		S_IFREG | S_IRUGO, 1, 0, 0,
+		0, &proc_array_inode_operations,
+		NULL, proc_pid_fill_inode,
+	});
+	proc_register(&proc_pid, &(struct proc_dir_entry) {
 		PROC_PID_MEM, 3, "mem",
 		S_IFREG | S_IRUSR | S_IWUSR, 1, 0, 0,
 		0, &proc_mem_inode_operations,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this