Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- From: ebiederm@xxxxxxxxxxxx (Eric W. Biederman)
- Date: Tue, 11 Jul 2006 00:57:35 -0600
Andrew Morton <akpm@xxxxxxxx> writes:
On Mon, 10 Jul 2006 16:38:59 -0600
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:
Since sys_sysctl is deprecated start allow it to be compiled out.
This could be a tough one to get rid of (looks at sys_bdflush() again).
I'd suggest we put a sys_bdflush()-style warning in there, see what that
flushes out.
Sounds sane. I know I have booted several kernels with it compiled out
but just because you can do without it doesn't mean that something
isn't using it.
Hmm. The question is where do I want the put the warning message?
When the code is compiled out?
When the code is compiled in?
Probably both places at this point, and using the rate limited printk
I think instead of just the 5 printks that sys_bdflush uses...
I will cook up an incremental patch once I get some sleep.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- From: Andrew Morton
- Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- References:
- [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- From: Eric W. Biederman
- Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- From: Andrew Morton
- [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- Prev by Date: Re: Depmod errors on 2.6.17.4/2.6.18-rc1/2.6.18-rc1-mm1
- Next by Date: Re: [PATCH 0/4] stack overflow safe kdump (2.6.18-rc1-i386) try#2
- Previous by thread: Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- Next by thread: Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
- Index(es):
Relevant Pages
|