Bugzilla – Attachment 61927 Details for
Bug 141318
kernel headers leak kernel types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
don't leak kernel types in mii.h
mii-sanitize-rml-2.6.15-1.patch (text/plain), 610 bytes, created by
Robert Love
on 2006-01-03 21:17:23 UTC
(
hide
)
Description:
don't leak kernel types in mii.h
Filename:
MIME Type:
Creator:
Robert Love
Created:
2006-01-03 21:17:23 UTC
Size:
610 bytes
patch
obsolete
>don't leak the kernel uX types to user-space, use __uX in lieu > > include/linux/mii.h | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff -urN linux-2.6.15/include/linux/mii.h linux/include/linux/mii.h >--- linux-2.6.15/include/linux/mii.h 2006-01-02 22:21:10.000000000 -0500 >+++ linux/include/linux/mii.h 2006-01-03 15:59:39.000000000 -0500 >@@ -171,10 +171,10 @@ > > /* This structure is used in all SIOCxMIIxxx ioctl calls */ > struct mii_ioctl_data { >- u16 phy_id; >- u16 reg_num; >- u16 val_in; >- u16 val_out; >+ __u16 phy_id; >+ __u16 reg_num; >+ __u16 val_in; >+ __u16 val_out; > }; > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 141318
:
61926
| 61927