Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 297327 Details for
Bug 184123
media-sound/oss4 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for hardened-source building
pax.patch (text/plain), 1.11 KB, created by
Hongjiu Zhang
on 2011-12-29 18:46:48 UTC
(
hide
)
Description:
Patch for hardened-source building
Filename:
MIME Type:
Creator:
Hongjiu Zhang
Created:
2011-12-29 18:46:48 UTC
Size:
1.11 KB
patch
obsolete
>--- oss-v4.2-build2005-src-gpl.orig/setup/Linux/oss/build/osscore.c 2011-12-29 10:30:56.071144892 +0800 >+++ oss-v4.2-build2005-src-gpl/setup/Linux/oss/build/osscore.c 2011-12-29 10:36:19.735147341 +0800 >@@ -911,7 +911,7 @@ > * are replaced by wrapper handles. > */ > >-static struct file_operations * >+static file_operations_no_const * > alloc_fop (oss_device_t * osdev, struct oss_file_operation_handle *op) > { > /* >@@ -927,7 +927,7 @@ > * and WRAPPER_VERSION must be incremented. > */ > >- struct file_operations *fop; >+ file_operations_no_const *fop; > > poll_t tmp_poll = (poll_t) op->poll; > read_t tmp_read = (read_t) op->read; >@@ -942,10 +942,10 @@ > new_ioctl_t tmp_unlocked_ioctl = (new_ioctl_t) op->unlocked_ioctl; > new_ioctl_t tmp_compat_ioctl = (new_ioctl_t) op->compat_ioctl; > >- fop = (struct file_operations *) >- oss_kmem_alloc (sizeof (struct file_operations)); >+ fop = (file_operations_no_const *) >+ oss_kmem_alloc (sizeof (file_operations_no_const)); > >- memset ((char *) fop, 0, sizeof (struct file_operations)); >+ memset ((char *) fop, 0, sizeof (file_operations_no_const)); > > /* > * Now the assignment
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 184123
:
129295
|
129654
|
129655
|
129657
|
129658
|
131327
|
131329
|
133153
|
134965
|
135027
|
135029
|
135932
|
135933
|
137503
|
137504
|
137506
|
138566
|
138567
|
138569
|
139887
|
142815
|
142817
|
142819
|
142820
|
153689
|
176122
|
176124
|
176125
|
176126
|
176605
|
176607
|
176609
|
177020
|
181575
|
181577
|
213095
|
213154
|
213155
|
213156
|
213157
|
213194
| 297327 |
297331
|
319606
|
319624
|
319632
|
382776