Bug 845960 - glibc: Please backport warn_unused_result for set*id functions
glibc: Please backport warn_unused_result for set*id functions
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jeff Law
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2012-08-06 13:50:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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?


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.