Bug 472557

Summary: futex missreporting ETIMEDOUT instead of EINVAL
Product: Red Hat Enterprise Linux 4 Reporter: Tru Huynh <pasteur>
Component: kernelAssignee: Jerome Marchand <jmarchan>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: anton, jtluka, njoly, pasteur, vgoyal
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 19:31:49 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 none

Description Tru Huynh 2008-11-21 18:23:47 UTC
Description of problem:
futex missreporting ETIMEDOUT instead of EINVAL, see the testcase provided.

Version-Release number of selected component (if applicable):
4.5/6/7 kernels

How reproducible:
always

Steps to Reproduce:
1. fetch the test case sys_futex.c
2. make sys_futex
3. ./sys_futex
  
Actual results:
sys_futex: futex failed: Connection timed out

Expected results:
should return EINVAL on invalid entry

Additional info:

Comment 1 Tru Huynh 2008-11-21 18:24:38 UTC
Created attachment 324330 [details]
test case

Comment 4 RHEL Program Management 2009-02-09 11:29:03 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Jerome Marchand 2009-02-10 13:35:10 UTC
I forgot to mention that the patch was posted:
http://post-office.corp.redhat.com/archives/rhkernel-list/2009-February/msg00124.html

Comment 6 Vivek Goyal 2009-02-12 15:35:14 UTC
Committed in 81.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 9 errata-xmlrpc 2009-05-18 19:31:49 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-1024.html