Bug 434787

Summary: asm/ptrace.h: expected specifier-qualifier-list before ‘u32’
Product: [Fedora] Fedora Reporter: Petr Machata <pmachata>
Component: kernelAssignee: Roland McGrath <roland>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: kernel-maint, mnewsome
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-08 20:11:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 434390    

Description Petr Machata 2008-02-25 14:38:05 UTC
Description of problem:
I guess the problem would be best illustrated by a testcase:

$ cat pt.c 
#include <asm/ptrace.h>
$ gcc pt.c 
In file included from /usr/include/asm/ptrace.h:4,
                 from pt.c:1:
/usr/include/asm/ptrace-abi.h:92: error: expected specifier-qualifier-list
before ‘u32’

Causes problem during ltrace build.
The problem might be that u32 is wrongly exposed to userspace, or I guess that
it's left out from asm/types.h.

Version-Release number of selected component (if applicable):
kernel-headers-2.6.25-0.40.rc1.git2.fc9.x86_64
kernel-headers-2.6.25-0.65.rc2.git7.fc9.i386

How reproducible:
Always

Steps to Reproduce:
See description.
  
Actual results:
undefined type u32 is used

Expected results:
the type u32 is not used, or is defined

Comment 1 Chuck Ebbert 2008-03-08 20:11:21 UTC
Fixed on Feb 29th.