* [PATCH] netfiler: remove the write permission of nf_conntrack/acct
@ 2009-11-06 9:34 Changli Gao
0 siblings, 0 replies; only message in thread
From: Changli Gao @ 2009-11-06 9:34 UTC (permalink / raw)
To: Patrick McHardy; +Cc: netfilter-devel, xiaosuo
remove write permission of nf_conntrack/acct
This option only works when initialization.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
net/netfilter/nf_conntrack_acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/netfilter/nf_conntrack_acct.c.orig 2009-11-06 17:27:31.000000000 +0800
+++ b/net/netfilter/nf_conntrack_acct.c 2009-11-06 17:27:47.000000000 +0800
@@ -20,7 +20,7 @@
static int nf_ct_acct __read_mostly = NF_CT_ACCT_DEFAULT;
-module_param_named(acct, nf_ct_acct, bool, 0644);
+module_param_named(acct, nf_ct_acct, bool, 0444);
MODULE_PARM_DESC(acct, "Enable connection tracking flow accounting.");
#ifdef CONFIG_SYSCTL
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-06 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 9:34 [PATCH] netfiler: remove the write permission of nf_conntrack/acct Changli Gao
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.