[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1d4ucz525.fsf@ebiederm.dsl.xmission.com>
Date: Wed, 14 Nov 2007 18:10:58 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Julian Anastasov <ja@....bg>
Cc: Simon Horman <horms@...ge.net.au>,
David Miller <davem@...emloft.net>, borntraeger@...ibm.com,
netdev@...r.kernel.org, wensong@...ux-vs.org
Subject: Re: [PATCH] IPVS: Fix sysctl warnings about missing strategy
Julian Anastasov <ja@....bg> writes:
> I assume /proc/sys is still valid place, only sysctl interface
> is scheduled for removal.
Yes. The ascii versions of the sysctls that show up in /proc/sys are
definitely still valid.
> So, as long as these entries are not
> accessible from sysctl it is safe to run without strategy handler but if
> values can be changed then we will need strategy handler to
> properly call update_defense_level() as done in proc_do_defense_mode()
> as proc_handler. There could be side effects if new mode is not applied.
Yes. The current mode of 0644 allows them to be both read and updated
with sys_sysctl. By removing the ctl_name entry those entries become
inaccessible from the /proc/sys interface. Which is some easier then
writing a strategy routine.
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists