From: Patrick McHardy <kaber@trash.net>
To: Daniel De Graaf <danield@iastate.edu>
Cc: Netfilter-Devel <netfilter-devel@lists.netfilter.org>
Subject: Re: [PATCH] ipt_recent: add module parameter for changing GID of /proc/net/ipt_recent/*
Date: Sat, 08 Jul 2006 05:02:55 +0200 [thread overview]
Message-ID: <44AF205F.3070600@trash.net> (raw)
In-Reply-To: <44AF0E7E.70507@iastate.edu>
Daniel De Graaf wrote:
> This patch adds an ip_list_gid module parameter to ipt_recent, which is
> meant to be used in combination with the ip_list_perms. In the current
> implementation, the files must either be world-writable or require
> programs which write to them to be (at least) setgid root.
>
> - Daniel De Graaf
/* Structure of our list of recently seen addresses. */
struct recent_ip_list {
@@ -852,6 +855,7 @@
}
curr_table->status_proc->owner = THIS_MODULE;
+ curr_table->status_proc->gid = ip_list_gid;
curr_table->status_proc->data = curr_table;
wmb();
curr_table->status_proc->read_proc = ip_recent_get_info;
That code is gone for good, please check if your patch is still
necessary for current -git and resubmit in case it is.
next prev parent reply other threads:[~2006-07-08 3:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-08 1:46 [PATCH] ipt_recent: add module parameter for changing GID of /proc/net/ipt_recent/* Daniel De Graaf
2006-07-08 3:02 ` Patrick McHardy [this message]
2006-07-08 3:25 ` Daniel De Graaf
2006-07-08 10:42 ` Patrick McHardy
2006-07-08 17:21 ` Daniel De Graaf
2006-07-09 3:43 ` Patrick McHardy
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=44AF205F.3070600@trash.net \
--to=kaber@trash.net \
--cc=danield@iastate.edu \
--cc=netfilter-devel@lists.netfilter.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.