[Bug 3497] setresuid/setresgid configure check may need _GNU_SOURCE

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Nov 7 10:30:12 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3497

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3621|0                           |1
        is obsolete|                            |

--- Comment #7 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3624
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3624&action=edit
Fix setres*id tests to work with clang-16

There were two problems: I put _GNU_SOURCE in the wrong place, and the
tests themselves did not include unistd.h for the prototypes.  This
seems to fix both when compiling with a self-built clang/llvm from git.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list