summaryrefslogtreecommitdiff
path: root/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-02-15 23:24:26 +0200
commit7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch)
tree1684924656132935256e034f35f92abee6623265 /sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch
Added ebuilds for kogaion desktop
Diffstat (limited to 'sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch')
-rw-r--r--sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch b/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch
new file mode 100644
index 00000000..a7066c36
--- /dev/null
+++ b/sys-kernel/compat-drivers/files/3.8-grsec/00-read-only.patch
@@ -0,0 +1,23 @@
+--- ./include/net/bluetooth/bluetooth.h
++++ ./include/net/bluetooth/bluetooth.h
+@@ -206,7 +206,7 @@
+ struct file_operations fops;
+ int (* custom_seq_show)(struct seq_file *, void *);
+ #endif
+-};
++} __no_const;
+
+ int bt_sock_register(int proto, const struct net_proto_family *ops);
+ int bt_sock_unregister(int proto);
+--- ./include/net/mac80211.h
++++ ./include/net/mac80211.h
+@@ -2652,7 +2652,7 @@
+ struct ieee80211_chanctx_conf *ctx);
+
+ void (*restart_complete)(struct ieee80211_hw *hw);
+-};
++} __no_const;
+
+ /**
+ * ieee80211_alloc_hw - Allocate a new hardware device
+