All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Get rid of /proc/sys/debug
Date: Wed, 7 Jun 2006 14:22:32 -0700	[thread overview]
Message-ID: <20060607142232.6cc6cd2f@localhost.localdomain> (raw)
In-Reply-To: <20060607142127.37da7eb7@localhost.localdomain>

Another empty table with no entries.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
--- sky2.orig/include/linux/sysctl.h	2006-06-07 14:12:29.000000000 -0700
+++ sky2/include/linux/sysctl.h	2006-06-07 14:20:15.000000000 -0700
@@ -57,7 +57,7 @@
 	CTL_NET=3,		/* Networking */
 	/* was CTL_PROC */
 	CTL_FS=5,		/* Filesystems */
-	CTL_DEBUG=6,		/* Debugging */
+	/* was CTL_DEBUG */
 	CTL_DEV=7,		/* Devices */
 	CTL_BUS=8,		/* Busses */
 	CTL_ABI=9,		/* Binary emulation */
@@ -800,8 +800,6 @@
 	FS_DQ_WARNINGS = 9,
 };
 
-/* CTL_DEBUG names: */
-
 /* CTL_DEV names: */
 enum {
 	DEV_CDROM=1,
--- sky2.orig/kernel/sysctl.c	2006-06-07 14:06:38.000000000 -0700
+++ sky2/kernel/sysctl.c	2006-06-07 14:18:34.000000000 -0700
@@ -143,7 +143,6 @@
 static ctl_table kern_table[];
 static ctl_table vm_table[];
 static ctl_table fs_table[];
-static ctl_table debug_table[];
 static ctl_table dev_table[];
 extern ctl_table random_table[];
 #ifdef CONFIG_UNIX98_PTYS
@@ -207,12 +206,6 @@
 		.child		= fs_table,
 	},
 	{
-		.ctl_name	= CTL_DEBUG,
-		.procname	= "debug",
-		.mode		= 0555,
-		.child		= debug_table,
-	},
-	{
 		.ctl_name	= CTL_DEV,
 		.procname	= "dev",
 		.mode		= 0555,
@@ -1037,10 +1030,6 @@
 	{ .ctl_name = 0 }
 };
 
-static ctl_table debug_table[] = {
-	{ .ctl_name = 0 }
-};
-
 static ctl_table dev_table[] = {
 	{ .ctl_name = 0 }
 };

  reply	other threads:[~2006-06-07 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-07 21:21 [PATCH] Get rid of /proc/sys/proc Stephen Hemminger
2006-06-07 21:22 ` Stephen Hemminger [this message]
2006-06-07 21:45   ` [PATCH] Get rid of /proc/sys/debug Randy.Dunlap
2006-06-07 21:49     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060607142232.6cc6cd2f@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.