Red Hat Bugzilla – Bug 845960
glibc: Please backport warn_unused_result for set*id functions
Last modified: 2016-11-24 11:01:52 EST
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.
In glibc-2.16-7, build spinning now.