netfiler: remove the write permission of nf_conntrack/acct
Subsystems (2)
PATCH 1/1 netfiler: remove the write permission of nf_conntrack/acct
remove write permission of nf_conntrack/acct
This option only works when initialization.
Signed-off-by Changli Gao <[email protected]>
----net/netfilter/nf_conntrack_acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/nf_conntrack_acct.c renamed from net/netfilter/nf_conntrack_acct.c.orig +1 -1
@@ -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