Bug 1322444

Summary: glibc: Add O_NEEDEXEC support
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: glibc team <glibc-bugzilla>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: arjun.is, codonell, dj, fweimer, jakub, law, mfabian, pfrankli, siddhesh
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-23 15:42:33 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:
Bug Depends On: 1322443    
Bug Blocks:    

Description Florian Weimer 2016-03-30 14:02:40 UTC
Once bug 1322443 is implemented, we need to add support for the new O_NEEDEXEC flag (or whatever it is called) to glibc, so that script interpreters can specify it when opening script files.

Comment 1 Florian Weimer 2019-10-23 15:42:33 UTC
In more than three years, kernel support has not materialized. There is an other attempt in the form of O_MAYEXEC. If the kernel ever implements the feature, we may consider adding support to glibc (e.g., the dynamic loader should use O_MAYEXEC for executables).