Bug 703094 - write system call returns with 0 when it should return with EFBIG. - rhel5
Summary: write system call returns with 0 when it should return with EFBIG. - rhel5
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.7
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Don Howard
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On: 646498
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 09:29 UTC by Eryu Guan
Modified: 2014-02-11 13:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 646498
Environment:
Last Closed: 2014-02-11 13:27:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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