Bug 845960

Summary: glibc: Please backport warn_unused_result for set*id functions
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: Jeff Law <law>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, jakub, law, pfrankli, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 17:50:39 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 Florian Weimer 2012-08-06 09:48:29 UTC
Could you please backport this change from glibc upstream?

http://sourceware.org/git/?p=glibc.git;a=commit;h=7e66ee5142deda977163d0a858c3d2883cae3f07

Code is unchanged, the main risk is build failures with -Werror.

It is unclear if the Fedora kernel actually prevents failure of setuid when getuid() == 0 (although the most easy-to-exploit case is covered), so I think it still makes sense to have this patch in Fedora.

Comment 1 Jeff Law 2012-08-06 17:50:39 UTC
In glibc-2.16-7, build spinning now.