This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2705] missing warn-unused-result fortify checks for setuid family
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 10 Apr 2019 07:10:36 +0000
- Subject: [Bug libc/2705] missing warn-unused-result fortify checks for setuid family
- Auto-submitted: auto-generated
- References: <bug-2705-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=2705
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Resolution|WONTFIX |FIXED
Flags| |security-
--- Comment #6 from Florian Weimer <fweimer at redhat dot com> ---
This was fixed for glibc 2.17 with this commit:
commit 7e66ee5142deda977163d0a858c3d2883cae3f07
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jul 24 13:45:59 2012 +0200
* posix/unistd.h (setuid, setreuid, seteuid, setresuid):
Declare with warn_unused_result.
(setgid, setregid, setegid, setresgid): Likewise.
* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
Likewise.
* WUR-REPORT: Remove set*id functions.
(The setfsuid/setfsgid part had to be backed out.)
--
You are receiving this mail because:
You are on the CC list for the bug.