|
Bugzilla – Full Text Bug Listing |
| Summary: | kernel headers leak kernel types | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Robert Love <rml> |
| Component: | Basesystem | Assignee: | Thorsten Kukuk <kukuk> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | kukuk |
| Version: | Alpha 4 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
don't leak kernel types in ethtool.h
don't leak kernel types in mii.h |
||
|
Description
Robert Love
2006-01-03 21:16:30 UTC
Created attachment 61926 [details]
don't leak kernel types in ethtool.h
Created attachment 61927 [details]
don't leak kernel types in mii.h
FYI: Just checked, and Red Hat patches these files in their glibc. kukuk - by the looks of the changelog, you are the man wrt glibc. ;-) Can we get these two simple patches in? I submitted fixes for the upstream kernel headers, but in the interim can we just fix the headers in our glibc? Obviously, these files using those types is going to cause compilation issues... (In reply to comment #4) > kukuk - by the looks of the changelog, you are the man wrt glibc. ;-) > > Can we get these two simple patches in? I submitted fixes for the upstream > kernel headers, but in the interim can we just fix the headers in our glibc? > > Obviously, these files using those types is going to cause compilation > issues... You always write about compilation issues without telling us which applications have problems. No package in autobuild has problems with this and including kernel headers in userland applications is not supported by us. So I will not add this patches. Any application that uses mii.h or ethtool.h will have problems. This includes ethtool and NetworkManager. They both work because they are patched -- they self-define the kernel types u32, et al.
These headers are meant to be included in user-space applications: ALL they do is define a user-kernel interface.
The patches have already gone upstream (in 2.6-mm and now in Linus's git tree).
> including kernel headers in userland applications is not supported by us
Many glibc headers derive from the kernel and are intended for use by user-space. These are but two examples. What is not allowed is using kernel-only __KERNEL__ headers in user-space. These do not fall in that category.
Correct, glibc headers are adjusted for inclusion in user-space, not the other one. Sorry, I don't understand. What "other one" ? |