This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2705] missing warn-unused-result fortify checks for setuid family


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]