Bug 845960 - glibc: Please backport warn_unused_result for set*id functions
glibc: Please backport warn_unused_result for set*id functions
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jeff Law
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-06 05:48 EDT by Florian Weimer
Modified: 2016-11-24 11:01 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-06 13:50:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Florian Weimer 2012-08-06 05:48:29 EDT
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 13:50:39 EDT
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.