Bug 845960 - glibc: Please backport warn_unused_result for set*id functions
Summary: glibc: Please backport warn_unused_result for set*id functions
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-06 09:48 UTC by Florian Weimer
Modified: 2016-11-24 16:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-06 17:50:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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