<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/newgrp, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2009-07-24T21:42:10Z</updated>
<entry>
<title>MFC r194494 to improve support for 7.x worlds on &gt;=8.0 kernels:</title>
<updated>2009-07-24T21:42:10Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2009-07-24T21:42:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7b1c70a041ee7a416b2c8451863f24cc912b00e1'/>
<id>urn:sha1:7b1c70a041ee7a416b2c8451863f24cc912b00e1</id>
<content type='text'>
In preparation for raising NGROUPS and NGROUPS_MAX, change base
system callers of getgroups(), getgrouplist(), and setgroups() to
allocate buffers dynamically.  Specifically, allocate a buffer of size
sysconf(_SC_NGROUPS_MAX)+1 (+2 in a few cases to allow for overflow).

This (or similar gymnastics) is required for the code to actually follow
the POSIX.1-2008 specification where {NGROUPS_MAX} may differ at runtime
and where getgroups may return {NGROUPS_MAX}+1 results on systems like
FreeBSD which include the primary group.

In id(1), don't pointlessly add the primary group to the list of all
groups, it is always the first result from getgroups().  In principle
the old code was more portable, but this was only done in one of the two
places where getgroups() was called to the overall effect was pointless.

Document the actual POSIX requirements in the getgroups(2) and
setgroups(2) manpages.  We do not yet support a dynamic NGROUPS, but we
may in the future.
</content>
</entry>
<entry>
<title>Added the EXIT STATUS section where appropriate.</title>
<updated>2005-01-17T07:44:44Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-17T07:44:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a866e170777b42fd7921eadd6e7e664f3a031d60'/>
<id>urn:sha1:a866e170777b42fd7921eadd6e7e664f3a031d60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar</title>
<updated>2004-11-03T18:01:21Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-11-03T18:01:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dee651eb15eb85ae1b3bd54056277d1dde58d129'/>
<id>urn:sha1:dee651eb15eb85ae1b3bd54056277d1dde58d129</id>
<content type='text'>
to PRECIOUSLIB from bsd.lib.mk.  The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by:	oliver
</content>
</entry>
<entry>
<title>Only check if ENABLE_SUID_NEWGRP is defined, for consistency with</title>
<updated>2004-10-24T16:02:38Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-10-24T16:02:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=be88e5179d7dd35ef9007367afb0f2f1d6d03897'/>
<id>urn:sha1:be88e5179d7dd35ef9007367afb0f2f1d6d03897</id>
<content type='text'>
other ENABLE_SUID_* variables.
</content>
</entry>
<entry>
<title>Use (char *)NULL to terminated to argument list for execl().</title>
<updated>2003-10-30T15:14:34Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-10-30T15:14:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7ff34dc884921dcafd92dceb73d8bdd90a6041dc'/>
<id>urn:sha1:7ff34dc884921dcafd92dceb73d8bdd90a6041dc</id>
<content type='text'>
Without this cast the compiler cannot know that it has to convert
the null pointer constant NULL to a null pointer.
</content>
</entry>
<entry>
<title>mdoc(7) police: one minor change that was not probably worth a commit.</title>
<updated>2002-05-30T13:57:35Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-05-30T13:57:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8bf118ed78479b411f560ab1e259fb766426e5ba'/>
<id>urn:sha1:8bf118ed78479b411f560ab1e259fb766426e5ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the newgrp(1) utility, which changes groups. This is required by</title>
<updated>2002-05-28T05:05:28Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-05-28T05:05:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=29f48d6256381ac6ca55fdfa925dc046132025b8'/>
<id>urn:sha1:29f48d6256381ac6ca55fdfa925dc046132025b8</id>
<content type='text'>
the POSIX.2 UPE.

PR:		36190
Reviewed by:	-standards, silence on -audit
</content>
</entry>
</feed>
