Bug 864325

Summary: 3.7.0 kernel fails to honour fcntl (F_DUPFD_CLOEXEC)
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, pmatouse
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 864371 (view as bug list) Environment:
Last Closed: 2013-03-19 15:02:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2012-10-09 07:24:03 UTC
Description of problem:

http://lkml.indiana.edu/hypermail/linux/kernel/1210.1/index.html#00400

Version-Release number of selected component (if applicable):

3.7.0-0.rc0.git2.4.fc19.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Run the reproducer in the link above.

Additional info:

Al Viro has suggested a patch, which I haven't tested, but I will
attach to this message.

Comment 1 Richard W.M. Jones 2012-10-09 07:25:14 UTC
Al Viro's patch is here:
http://marc.info/?l=linux-fsdevel&m=134973493227376&w=2

Comment 2 Richard W.M. Jones 2012-10-09 08:49:27 UTC
(In reply to comment #1)
> Al Viro's patch is here:
> http://marc.info/?l=linux-fsdevel&m=134973493227376&w=2

This patch fixed it for me.

Comment 3 Richard W.M. Jones 2012-10-09 13:06:34 UTC
Al's fix is upstream (121977187ca0a7f20b848530deb04cc56167769b).