Bug 172276 - POSIX: {get,set}groups gidsetsize is u_int not int
Summary: POSIX: {get,set}groups gidsetsize is u_int not int
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: standards (show other bugs)
Version: 9.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-standards (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2012-10-02 17:00 UTC by Ed Maste
Modified: 2018-05-23 10:27 UTC (History)
0 users

See Also:


Attachments
getsetgroups_arg.diff (2.87 KB, patch)
2012-10-02 17:00 UTC, Ed Maste
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2012-10-02 17:00:21 UTC
GNU Autoconf doesn't like our getgroups:

  On some platforms, this function fails to reject a negative count,
  even though that is less than the size that would be returned:

How-To-Repeat: 
Run gnulib autoconf,
configure:54098: checking whether getgroups handles negative values

http://pubs.opengroup.org/onlinepubs/9699919799/functions/getgroups.html
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:56 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.