+ get-rid-of-proc-sys-proc.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Get rid of /proc/sys/proc

has been added to the -mm tree.  Its filename is

     get-rid-of-proc-sys-proc.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Get rid of /proc/sys/proc
From: Stephen Hemminger <shemminger@xxxxxxxx>


The table is empty, why does it still exist?

Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/sysctl.h |    4 +---
 kernel/sysctl.c        |   11 -----------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff -puN include/linux/sysctl.h~get-rid-of-proc-sys-proc include/linux/sysctl.h
--- devel/include/linux/sysctl.h~get-rid-of-proc-sys-proc	2006-06-08 00:15:58.000000000 -0700
+++ devel-akpm/include/linux/sysctl.h	2006-06-08 00:15:58.000000000 -0700
@@ -55,7 +55,7 @@ enum
 	CTL_KERN=1,		/* General kernel info and control */
 	CTL_VM=2,		/* VM management */
 	CTL_NET=3,		/* Networking */
-	CTL_PROC=4,		/* Process info */
+	/* was CTL_PROC */
 	CTL_FS=5,		/* Filesystems */
 	CTL_DEBUG=6,		/* Debugging */
 	CTL_DEV=7,		/* Devices */
@@ -771,8 +771,6 @@ enum {
 	NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4,
 };
 
-/* CTL_PROC names: */
-
 /* CTL_FS names: */
 enum
 {
diff -puN kernel/sysctl.c~get-rid-of-proc-sys-proc kernel/sysctl.c
--- devel/kernel/sysctl.c~get-rid-of-proc-sys-proc	2006-06-08 00:15:58.000000000 -0700
+++ devel-akpm/kernel/sysctl.c	2006-06-08 00:15:58.000000000 -0700
@@ -145,7 +145,6 @@ static struct ctl_table_header root_tabl
 
 static ctl_table kern_table[];
 static ctl_table vm_table[];
-static ctl_table proc_table[];
 static ctl_table fs_table[];
 static ctl_table debug_table[];
 static ctl_table dev_table[];
@@ -205,12 +204,6 @@ static ctl_table root_table[] = {
 	},
 #endif
 	{
-		.ctl_name	= CTL_PROC,
-		.procname	= "proc",
-		.mode		= 0555,
-		.child		= proc_table,
-	},
-	{
 		.ctl_name	= CTL_FS,
 		.procname	= "fs",
 		.mode		= 0555,
@@ -967,10 +960,6 @@ static ctl_table vm_table[] = {
 	{ .ctl_name = 0 }
 };
 
-static ctl_table proc_table[] = {
-	{ .ctl_name = 0 }
-};
-
 static ctl_table fs_table[] = {
 	{
 		.ctl_name	= FS_NRINODE,
_

Patches currently in -mm which might be from shemminger@xxxxxxxx are

git-net.patch
get-rid-of-proc-sys-proc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux