mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[PATCH] Get rid of /proc/sys/proc
The table is empty, why does it still exist? Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
8ad2914d9c
commit
eab03ac7bd
2 changed files with 1 additions and 14 deletions
|
@ -55,7 +55,7 @@ enum
|
||||||
CTL_KERN=1, /* General kernel info and control */
|
CTL_KERN=1, /* General kernel info and control */
|
||||||
CTL_VM=2, /* VM management */
|
CTL_VM=2, /* VM management */
|
||||||
CTL_NET=3, /* Networking */
|
CTL_NET=3, /* Networking */
|
||||||
CTL_PROC=4, /* Process info */
|
/* was CTL_PROC */
|
||||||
CTL_FS=5, /* Filesystems */
|
CTL_FS=5, /* Filesystems */
|
||||||
CTL_DEBUG=6, /* Debugging */
|
CTL_DEBUG=6, /* Debugging */
|
||||||
CTL_DEV=7, /* Devices */
|
CTL_DEV=7, /* Devices */
|
||||||
|
@ -767,8 +767,6 @@ enum {
|
||||||
NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4,
|
NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* CTL_PROC names: */
|
|
||||||
|
|
||||||
/* CTL_FS names: */
|
/* CTL_FS names: */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
|
@ -143,7 +143,6 @@ static struct ctl_table_header root_table_header =
|
||||||
|
|
||||||
static ctl_table kern_table[];
|
static ctl_table kern_table[];
|
||||||
static ctl_table vm_table[];
|
static ctl_table vm_table[];
|
||||||
static ctl_table proc_table[];
|
|
||||||
static ctl_table fs_table[];
|
static ctl_table fs_table[];
|
||||||
static ctl_table debug_table[];
|
static ctl_table debug_table[];
|
||||||
static ctl_table dev_table[];
|
static ctl_table dev_table[];
|
||||||
|
@ -202,12 +201,6 @@ static ctl_table root_table[] = {
|
||||||
.child = net_table,
|
.child = net_table,
|
||||||
},
|
},
|
||||||
#endif
|
#endif
|
||||||
{
|
|
||||||
.ctl_name = CTL_PROC,
|
|
||||||
.procname = "proc",
|
|
||||||
.mode = 0555,
|
|
||||||
.child = proc_table,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
.ctl_name = CTL_FS,
|
.ctl_name = CTL_FS,
|
||||||
.procname = "fs",
|
.procname = "fs",
|
||||||
|
@ -927,10 +920,6 @@ static ctl_table vm_table[] = {
|
||||||
{ .ctl_name = 0 }
|
{ .ctl_name = 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static ctl_table proc_table[] = {
|
|
||||||
{ .ctl_name = 0 }
|
|
||||||
};
|
|
||||||
|
|
||||||
static ctl_table fs_table[] = {
|
static ctl_table fs_table[] = {
|
||||||
{
|
{
|
||||||
.ctl_name = FS_NRINODE,
|
.ctl_name = FS_NRINODE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue