<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libutil, branch release/7.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-05-01T02:51:58Z</updated>
<entry>
<title>Copy releng/7.2 to release/7.2.0 for FreeBSD 7.2-RELEASE.</title>
<updated>2009-05-01T02:51:58Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-05-01T02:51:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b205d83df7763ca1f099bce5ac12a05862a626c4'/>
<id>urn:sha1:b205d83df7763ca1f099bce5ac12a05862a626c4</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.2-RELEASE image.
</content>
</entry>
<entry>
<title>MFC r184831,185237:</title>
<updated>2009-01-08T02:41:40Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2009-01-08T02:41:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a814225919ee3771646bd69147fd5112256657b9'/>
<id>urn:sha1:a814225919ee3771646bd69147fd5112256657b9</id>
<content type='text'>
style(9) fixes.

Fixed style issues with variable ordering and naming, spacing and
parentheses.

Fixed alignment issue in gr_dup() in its assignment of gr_mem using a
struct to force alignment without performing alignment mathematics.
This
was noticed recently with libutil was built with WARNS=6 on platform
such
as sparc64.

Added checks to gr_dup(), gr_equal() and gr_make() to prevent segfaults
when examining struct group's with the struct members pointing to
NULL's.

Unlike r185237, did not enable WARNS?=6 since other changes would need
to be MFC'd first.

Reviewed by:	des
</content>
</entry>
<entry>
<title>MFC r186314:</title>
<updated>2008-12-19T20:19:59Z</updated>
<author>
<name>Joe Marcus Clarke</name>
<email>marcus@FreeBSD.org</email>
</author>
<published>2008-12-19T20:19:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8651a8362847165b578a6bed0ab9550250c72b11'/>
<id>urn:sha1:8651a8362847165b578a6bed0ab9550250c72b11</id>
<content type='text'>
Initialize the cntp pointer to 0 prior to doing any work so that callers
don't try to iterate through garbage or NULL memory.  Additionally, return
NULL instead of 0 on error.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC: 185548 and followups.</title>
<updated>2008-12-06T19:54:50Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2008-12-06T19:54:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c20d140b2317d1562242ffe5c249427f0259d279'/>
<id>urn:sha1:c20d140b2317d1562242ffe5c249427f0259d279</id>
<content type='text'>
Add new KERN_PROC_* handlers with 32/64 bit stable interfaces.  Pack
records from sysctl to reduce copyout size.  Add helper to unpack and
provide a more stable interface.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC r183565:</title>
<updated>2008-10-26T21:55:19Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-10-26T21:55:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=279ae1cd52703d9f703ae7152a92668c8f0d26e5'/>
<id>urn:sha1:279ae1cd52703d9f703ae7152a92668c8f0d26e5</id>
<content type='text'>
  Small cleanups to openpty().

  - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work
    consistently on implementations that make the PTY the controlling TTY
    by default.

  - Call unlockpt() before opening the slave device. POSIX mentions that
    de slave device should only be opened after grantpt() and unlockpt()
    have been called.

  - Replace some redundant code by a label.

As a safety net, add a call to revoke() to unlockpt(). All applications
out there use openpty(), explicitly call revoke() or implement their own
PTY allocation routines. Adding the call to unlockpt() won't hurt, but
will prevent foot-shooting.

Reviewed by:	jhb, kib
Approved by:	re
</content>
</entry>
<entry>
<title>MFC r180347:</title>
<updated>2008-07-10T09:24:37Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-07-10T09:24:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58353846c3988c5df4f58cdae364263732798dcd'/>
<id>urn:sha1:58353846c3988c5df4f58cdae364263732798dcd</id>
<content type='text'>
Add #include &lt;inttypes.h&gt; for the strtoimax().
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2008-05-16T02:07:57Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2008-05-16T02:07:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4e03fb34fdf2652d25454f8018b7b71c4c14f918'/>
<id>urn:sha1:4e03fb34fdf2652d25454f8018b7b71c4c14f918</id>
<content type='text'>
Add four utility functions related to struct grp processing modeled in-part
after similar calls related to struct pwd in libutil/pw_util.c:
  - gr_equal()
    Perform a deep comparison of two struct grp's.  It does a thorough, yet
    unoptimized comparison of all the members regardless of order.

  - gr_make()
    Create a string (see group(5)) from a struct grp.

  - gr_dup()
    Duplicate a struct grp.  Returns a value that is a single contiguous
    block of memory.

  - gr_scan()
    Create a struct grp from a string (as produced by gr_make()).

    src/lib/libutil/Makefile: rev 1.66 -&gt; 1.67
    src/lib/libutil/gr_util.c: rev 0 -&gt; 1.1
    src/lib/libutil/libutil.h: rev 1.46 -&gt; 1.47
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_7'.</title>
<updated>2008-04-26T02:15:41Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-04-26T02:15:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c55967dd76282438c125eb1c765ee9d7c0c8f0e3'/>
<id>urn:sha1:c55967dd76282438c125eb1c765ee9d7c0c8f0e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC to RELENG_7:</title>
<updated>2008-04-20T16:29:01Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2008-04-20T16:29:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5a683d1d0b9e0c3010c7e7d892a45f92ef91a6ed'/>
<id>urn:sha1:5a683d1d0b9e0c3010c7e7d892a45f92ef91a6ed</id>
<content type='text'>
  Merge changes from NetBSD on humanize_number.c, 1.8 -&gt; 1.13
  Significant changes:
  - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print
  an int64_t.
  - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it
  should be "1.0G" or "1.0M".  The bug reported by Greg Troxel.

  PR:             118461
  PR:             102694
  Approved by:    rwatson (mentor)
  Obtained from:  NetBSD
  MFC after:      1 month
</content>
</entry>
<entry>
<title>MFC: Update openpty(3) manpage for the recent pty fixes and remove some</title>
<updated>2008-01-23T17:59:27Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-01-23T17:59:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bf7fee82b033ebb1e64d91463e19078f4b5eca35'/>
<id>urn:sha1:bf7fee82b033ebb1e64d91463e19078f4b5eca35</id>
<content type='text'>
now-unused macros from grantpt.c.
</content>
</entry>
</feed>
