diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-25 11:05:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-25 13:11:42 +0000 |
commit | b5541800d4d765b8252488dc841be11ca3fba53e (patch) | |
tree | 995c2e8f0c017984c92e59429193dfb501d7400c /unmaintained/ipt-netflow-grsec/constify.patch | |
parent | 38917a1aee7da065cabd8656e76e9816a0a119e0 (diff) | |
download | aports-b5541800d4d765b8252488dc841be11ca3fba53e.tar.bz2 aports-b5541800d4d765b8252488dc841be11ca3fba53e.tar.xz |
testing/ipt-netflow-grsec: fix build with 3.12 kernel
Diffstat (limited to 'unmaintained/ipt-netflow-grsec/constify.patch')
-rw-r--r-- | unmaintained/ipt-netflow-grsec/constify.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/unmaintained/ipt-netflow-grsec/constify.patch b/unmaintained/ipt-netflow-grsec/constify.patch deleted file mode 100644 index b92ed76a64..0000000000 --- a/unmaintained/ipt-netflow-grsec/constify.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- ./ipt_NETFLOW.c.orig 2013-04-12 14:18:39.176959425 +0000 -+++ ./ipt_NETFLOW.c 2013-04-12 14:23:29.779638950 +0000 -@@ -367,8 +367,13 @@ - #define BEFORE2632(x,y) - #endif - -+/* PAX need to know that we are allowed to write */ -+#ifndef CONSTIFY_PLUGIN -+#define ctl_table_no_const ctl_table -+#endif -+ - /* sysctl /proc/sys/net/netflow */ --static int hsize_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int hsize_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - void *orig = ctl->data; -@@ -386,7 +391,7 @@ - return ret; - } - --static int sndbuf_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int sndbuf_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - int ret; -@@ -446,7 +451,7 @@ - return ret; - } - --static int flush_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int flush_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - int ret; |