Bug 703094

Summary: write system call returns with 0 when it should return with EFBIG. - rhel5
Product: Red Hat Enterprise Linux 5 Reporter: Eryu Guan <eguan>
Component: kernelAssignee: Don Howard <dhoward>
Status: CLOSED WONTFIX QA Contact: Filesystem QE <fs-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: dejohnso, dhoward, jwest, kzhang, rwheeler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 646498 Environment:
Last Closed: 2014-02-11 13:27:05 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: 646498    
Bug Blocks:    

Comment 1 Eryu Guan 2011-05-09 09:32:23 UTC
This fails on rhel5.7 2.6.18-259.el5 kernel

[root@ibm-x3550m3-02 646498-write-doesnt-return-efbig]# make run
chmod a+x ./runtest.sh
chmod +x ./reproducer.sh
./runtest.sh
/mnt/tests/kernel/filesystems/646498-write-doesnt-return-efbig/reproducer.sh
Running ./reproducer.sh As root: 
Write should return EFBIG, returned
write(1, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1024) = 0
...finished running ./reproducer.sh, exit code=1
/kernel/filesystems/646498-write-doesnt-return-efbig result: FAIL

Comment 2 RHEL Program Management 2012-01-09 14:24:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.8 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 4 RHEL Program Management 2012-10-30 05:53:18 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.