<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/id, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add two new system calls, setloginclass(2) and getloginclass(2).  This makes</title>
<updated>2011-03-05T12:40:35+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2011-03-05T12:40:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2bfc50bc4fbc3ad7e8bdfeb6b55d72ea55c4f18b'/>
<id>2bfc50bc4fbc3ad7e8bdfeb6b55d72ea55c4f18b</id>
<content type='text'>
it possible for the kernel to track login class the process is assigned to,
which is required for RCTL.  This change also make setusercontext(3) call
setloginclass(2) and makes it possible to retrieve current login class using
id(1).

Reviewed by:	kib (as part of a larger patch)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it possible for the kernel to track login class the process is assigned to,
which is required for RCTL.  This change also make setusercontext(3) call
setloginclass(2) and makes it possible to retrieve current login class using
id(1).

Reviewed by:	kib (as part of a larger patch)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the advertising clause from UCB copyrighted files in usr.bin.  This</title>
<updated>2010-12-11T08:32:16+00:00</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-12-11T08:32:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da52b4caaf187775f6b56a72c6b16e94ad728f7b'/>
<id>da52b4caaf187775f6b56a72c6b16e94ad728f7b</id>
<content type='text'>
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
</pre>
</div>
</content>
</entry>
<entry>
<title>Build usr.bin/ with WARNS=6 by default.</title>
<updated>2010-01-02T10:27:05+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b7946da96b4498519f66f3f5fe72d1474bf13f7d'/>
<id>b7946da96b4498519f66f3f5fe72d1474bf13f7d</id>
<content type='text'>
Also add some missing $FreeBSD$ to keep svn happy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add some missing $FreeBSD$ to keep svn happy.
</pre>
</div>
</content>
</entry>
<entry>
<title>In preparation for raising NGROUPS and NGROUPS_MAX, change base</title>
<updated>2009-06-19T15:58:24+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2009-06-19T15:58:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=54404cfb13d40e474f72d3c75de1f4db3417df64'/>
<id>54404cfb13d40e474f72d3c75de1f4db3417df64</id>
<content type='text'>
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.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix id -A when the subject has an extended subject token associated with</title>
<updated>2007-10-14T00:52:30+00:00</updated>
<author>
<name>Christian S.J. Peron</name>
<email>csjp@FreeBSD.org</email>
</author>
<published>2007-10-14T00:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2e61a3d00afea7cac8026f46e990f988faecf5b0'/>
<id>2e61a3d00afea7cac8026f46e990f988faecf5b0</id>
<content type='text'>
them (for example when they have logged in from an ip6 source).

- Stick with the initial call to getaudit(2), if it returns E2BIG, use
  getaudit_addr(2) instead and set the "extended" flag to indicate that
  we the calling credential has an extended subject state.
- Additionally, add the printing of the machine/at_addr (the ip/ip6
  addresses)

MFC after:	1 week
Obtained from:	TrustedBSD Project
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
them (for example when they have logged in from an ip6 source).

- Stick with the initial call to getaudit(2), if it returns E2BIG, use
  getaudit_addr(2) instead and set the "extended" flag to indicate that
  we the calling credential has an extended subject state.
- Additionally, add the printing of the machine/at_addr (the ip/ip6
  addresses)

MFC after:	1 week
Obtained from:	TrustedBSD Project
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SUSv3 compliance: Use a single comma instead of comma and space to separate</title>
<updated>2006-12-29T12:28:34+00:00</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2006-12-29T12:28:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=703dfcbeb948c38a60842f3c62eb7b678cf3549e'/>
<id>703dfcbeb948c38a60842f3c62eb7b678cf3549e</id>
<content type='text'>
additional group entries.

PR:		107298
Submitted by:	Joost Bekkers
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
additional group entries.

PR:		107298
Submitted by:	Joost Bekkers
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve markup.</title>
<updated>2006-12-23T17:14:01+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-12-23T17:14:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=edea595c915ff2d40e7796b5ca18f007c4945a68'/>
<id>edea595c915ff2d40e7796b5ca18f007c4945a68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not exit without printing the id information if the uid of the</title>
<updated>2006-12-09T12:58:14+00:00</updated>
<author>
<name>Mike Pritchard</name>
<email>mpp@FreeBSD.org</email>
</author>
<published>2006-12-09T12:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f2588359cb649e072b26fa2d02170da269be0eac'/>
<id>f2588359cb649e072b26fa2d02170da269be0eac</id>
<content type='text'>
user executing the command cannot be looked up in the password file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
user executing the command cannot be looked up in the password file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a -a option as a no-op for Solaris compatibility, as briefly</title>
<updated>2006-09-26T22:28:12+00:00</updated>
<author>
<name>Ceri Davies</name>
<email>ceri@FreeBSD.org</email>
</author>
<published>2006-09-26T22:28:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de5e5e6ead7a4497b28686b5d3cb8c1c81a8f8b5'/>
<id>de5e5e6ead7a4497b28686b5d3cb8c1c81a8f8b5</id>
<content type='text'>
discussed on src-committers.  This is intentionally not included in the
usage() function as it would confuse the output too much.

Approved by:	jhb
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
discussed on src-committers.  This is intentionally not included in the
usage() function as it would confuse the output too much.

Approved by:	jhb
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix both arguments to err().</title>
<updated>2006-09-26T05:46:55+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-09-26T05:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=acc17cb5a52573423f011536227fdf56ce996b4e'/>
<id>acc17cb5a52573423f011536227fdf56ce996b4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
