Bug 458360 - enable userspace kernel header check
Summary: enable userspace kernel header check
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Don Zickus
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-07 19:17 UTC by Don Zickus
Modified: 2009-01-20 20:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 20:10:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
header patch (2.74 KB, patch)
2008-08-07 19:43 UTC, Don Zickus
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0225 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.3 kernel security and bug fix update 2009-01-20 16:06:24 UTC

Description Don Zickus 2008-08-07 19:17:24 UTC
Description of problem:
Applications accessing the kernel using header files generated by the kernel in the kernel-headers package.  Currently there are a handful of header files that will cause an application to fail to compile if used because inside those header files are calls to other header files that don't exist.

I have a patch that fixes those handful of header files and enables the brew build to fail if more of those files pop up.  This will allow us to catch problems earlier rather than later.

The check is worth its weight because not every application is rebuilt all the time.  When the time comes to fix an application and rebuild it, the kernel-headers used under brew may now contain broken headers causing the app to fail to build (and wasting hours of an engineers time).  Of course these headers could have been broken for months and no one would know.

So lets save a ton of stress and one big fire drill and fix these now and enable the check to prevent future problems. :-)



Version-Release number of selected component (if applicable):
2.6.18-92.el5

How reproducible:
always

Steps to Reproduce:
1.  compile an application with icmp.h or utsname.h
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Don Zickus 2008-08-07 19:43:45 UTC
Created attachment 313741 [details]
header patch

attached the patch

Comment 2 Don Zickus 2008-09-10 20:14:39 UTC
in kernel-2.6.18-110.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 6 errata-xmlrpc 2009-01-20 20:10:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0225.html


Note You need to log in before you can comment on or make changes to this bug.