Bug 119537

Summary: ftruncate64 is broken in IA32 emulation layer
Product: Red Hat Enterprise Linux 3 Reporter: Joe Orton <jorton>
Component: kernelAssignee: Jim Paradis <jparadis>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: peterm, petrides, riel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-02 04:31:12 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:
Attachments:
Description Flags
test case for ftruncate64 none

Description Joe Orton 2004-03-31 08:03:17 UTC
Description of problem:
ftruncate64 broken in IA32 emulation layer

Version-Release number of selected component (if applicable):
2.4.21-9.0.1.EL

How reproducible:
Always

Steps to Reproduce:
$ gcc -m32 ftruncate64.c
$ ./a.out
  
Actual results:
"size was 0 not 8589934592"

Expected results:
no output

Additional info:
Same results if binary is built on a real IA-32 box.

Comment 1 Joe Orton 2004-03-31 08:04:08 UTC
Created attachment 98990 [details]
test case for ftruncate64

Comment 2 Jim Paradis 2004-04-05 16:15:06 UTC
Patch submitted, will likely go into U3.


Comment 3 Ernie Petrides 2004-05-04 23:06:44 UTC
A fix for this problem has just been committed to the RHEL3 U3
patch pool (in kernel version 2.4.21-15.2.EL).


Comment 4 John Flanagan 2004-09-02 04:31:13 UTC
An errata 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 the 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/RHBA-2004-433.html