diff options
Diffstat (limited to 'sys-kernel/compat-drivers-alx/files/3.8-grsec/00-read-only.patch')
-rw-r--r-- | sys-kernel/compat-drivers-alx/files/3.8-grsec/00-read-only.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-kernel/compat-drivers-alx/files/3.8-grsec/00-read-only.patch b/sys-kernel/compat-drivers-alx/files/3.8-grsec/00-read-only.patch new file mode 100644 index 00000000..a7066c36 --- /dev/null +++ b/sys-kernel/compat-drivers-alx/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 + |