Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355326 Details for
Bug 480148
net-misc/dahdi-2.7.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
06-grsecurity-no-constify.diff
06-grsecurity-no-constify.diff (text/plain), 1.93 KB, created by
Tony Vroon (RETIRED)
on 2013-08-07 14:06:35 UTC
(
hide
)
Description:
06-grsecurity-no-constify.diff
Filename:
MIME Type:
Creator:
Tony Vroon (RETIRED)
Created:
2013-08-07 14:06:35 UTC
Size:
1.93 KB
patch
obsolete
>diff -uNr dahdi-linux-2.7.0.ORIG/drivers/dahdi/voicebus/voicebus.h dahdi-linux-2.7.0/drivers/dahdi/voicebus/voicebus.h >--- dahdi-linux-2.7.0.ORIG/drivers/dahdi/voicebus/voicebus.h 2013-08-07 13:53:44.440271869 +0100 >+++ dahdi-linux-2.7.0/drivers/dahdi/voicebus/voicebus.h 2013-08-07 13:54:01.419272123 +0100 >@@ -98,7 +98,7 @@ > void (*handle_receive)(struct voicebus *vb, struct list_head *buffers); > void (*handle_transmit)(struct voicebus *vb, struct list_head *buffers); > void (*handle_error)(struct voicebus *vb); >-}; >+} __no_const; > > /** > * struct voicebus_descriptor_list - A single descriptor list. >diff -uNr dahdi-linux-2.7.0.ORIG/drivers/dahdi/wctc4xxp/base.c dahdi-linux-2.7.0/drivers/dahdi/wctc4xxp/base.c >--- dahdi-linux-2.7.0.ORIG/drivers/dahdi/wctc4xxp/base.c 2013-08-07 13:53:44.449271869 +0100 >+++ dahdi-linux-2.7.0/drivers/dahdi/wctc4xxp/base.c 2013-08-07 13:54:01.420272124 +0100 >@@ -3197,7 +3197,7 @@ > return ret; > } > >-static void wctc4xxp_setup_file_operations(struct file_operations *fops) >+static void wctc4xxp_setup_file_operations(file_operations_no_const *fops) > { > fops->owner = THIS_MODULE; > fops->read = wctc4xxp_read; >diff -uNr dahdi-linux-2.7.0.ORIG/include/dahdi/kernel.h dahdi-linux-2.7.0/include/dahdi/kernel.h >--- dahdi-linux-2.7.0.ORIG/include/dahdi/kernel.h 2013-08-07 13:53:44.451271869 +0100 >+++ dahdi-linux-2.7.0/include/dahdi/kernel.h 2013-08-07 13:54:27.985272522 +0100 >@@ -58,6 +58,11 @@ > > #include <linux/poll.h> > >+#ifndef __no_const >+#define __no_const >+typedef struct file_operations file_operations_no_const; >+#endif >+ > #define dahdi_pci_module pci_register_driver > > #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) >@@ -1060,7 +1065,7 @@ > int numchannels; > unsigned int srcfmts; > unsigned int dstfmts; >- struct file_operations fops; >+ file_operations_no_const fops; > int (*allocate)(struct dahdi_transcoder_channel *channel); > int (*release)(struct dahdi_transcoder_channel *channel); > /* Transcoder channels */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 480148
:
355316
|
355318
|
355320
|
355322
|
355324
| 355326 |
355328
|
355330