[PATCH] add missing module license to ipfwadm_core.c

Geoffrey Lee (glee@gnupilgrims.org)
Sun, 9 Mar 2003 22:18:17 +0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-29389-1047219905-0001-2
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi all,

Since vger seems to have eaten some mail over the weekend, I thought
maybe I should resend this.

This adds a missing module license to ipfwadm_core.c to prevent it
from tainting the kernel when loaded in as a module.

Please apply.

Thanks,

-- Geoff.

-- 
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";

--=_courier-29389-1047219905-0001-2 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ifwadm_core.c.diff"

--- linux-2.4.20/net/ipv4/netfilter/ipfwadm_core.c.orig 2002-03-23 17:30:07.000000000 +0800 +++ linux-2.4.20/net/ipv4/netfilter/ipfwadm_core.c 2003-03-08 14:40:01.000000000 +0800 @@ -130,6 +130,8 @@ #include <linux/stat.h> #include <linux/version.h> +MODULE_LICENSE("Dual BSD/GPL"); + /* * Implement IP packet firewall */

--=_courier-29389-1047219905-0001-2--