aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-27 05:00:39 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-27 05:46:22 +0000
commitb480d342003fa46a1fa126f1baa32c6f7713506b (patch)
tree10799aa6cce3b4003a894fab4fabf9698ea42bd2 /main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch
parent621380ffefe7bf0ed9eac9e730b8f36ed4cd0167 (diff)
downloadaports-b480d342003fa46a1fa126f1baa32c6f7713506b.tar.bz2
aports-b480d342003fa46a1fa126f1baa32c6f7713506b.tar.xz
main/drbd9-hardened: rename from drbd9-grsec, provide drbd9-grsec
Diffstat (limited to 'main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch')
-rw-r--r--main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch b/main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch
deleted file mode 100644
index 37a1e76ba8..0000000000
--- a/main/dahdi-linux-grsec/zaphfc-dahdi-2.5.0.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Index: dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c
-===================================================================
---- dahdi-linux-2.5.0.orig/drivers/dahdi/zaphfc.c 2011-08-15 14:29:51.000000000 +0300
-+++ dahdi-linux-2.5.0/drivers/dahdi/zaphfc.c 2011-08-15 14:30:11.000000000 +0300
-@@ -616,7 +616,7 @@
- return 0;
- }
-
--static int zthfc_startup(struct dahdi_span *span) {
-+static int zthfc_startup(struct file *file, struct dahdi_span *span) {
- struct dahdi_hfc *zthfc = container_of(span, struct dahdi_hfc, span);
- struct hfc_card *hfctmp = zthfc->card;
- int alreadyrunning;
-@@ -653,12 +653,12 @@
- return 0;
- }
-
--static int zthfc_chanconfig(struct dahdi_chan *chan, int sigtype) {
-+static int zthfc_chanconfig(struct file *file, struct dahdi_chan *chan, int sigtype) {
- // printk(KERN_CRIT "chan_config sigtype=%d\n", sigtype);
- return 0;
- }
-
--static int zthfc_spanconfig(struct dahdi_span *span, struct dahdi_lineconfig *lc) {
-+static int zthfc_spanconfig(struct file *file, struct dahdi_span *span, struct dahdi_lineconfig *lc) {
- span->lineconfig = lc->lineconfig;
- return 0;
- }
-@@ -699,7 +699,6 @@
- zthfc->span.deflaw = DAHDI_LAW_ALAW;
- zthfc->span.linecompat = DAHDI_CONFIG_AMI | DAHDI_CONFIG_CCS; // <--- this is really BS
- zthfc->span.offset = 0;
-- init_waitqueue_head(&zthfc->span.maintq);
-
- for (i = 0; i < zthfc->span.channels; i++) {
- memset(&(zthfc->chans[i]), 0x0, sizeof(struct dahdi_chan));