<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdlib, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title>Fix issues which allow snooping on ptys. [08:01]</title>
<updated>2008-01-14T22:57:45Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2008-01-14T22:57:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ff94fecee59954f0460dc5ee25ef0d26dabe966d'/>
<id>urn:sha1:ff94fecee59954f0460dc5ee25ef0d26dabe966d</id>
<content type='text'>
Fix an off-by-one error in inet_network(3). [08:02]

Security: FreeBSD-SA-08:01.pty
Security: FreeBSD-SA-08:02.libc
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC: Clean up some of the pts(4) vs pty(4) stuff in grantpt(3) and friends.</title>
<updated>2007-12-31T17:39:24Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-12-31T17:39:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b9e8ce33bf15bc794d881cfb435a2a5c2db69b2f'/>
<id>urn:sha1:b9e8ce33bf15bc794d881cfb435a2a5c2db69b2f</id>
<content type='text'>
Approved by:	re (gnn)
</content>
</entry>
<entry>
<title>MFC: Update posix_openpt(3) to handle 512 ptys.</title>
<updated>2007-12-18T00:36:21Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-12-18T00:36:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9f7625195f5187638ab7c3275df29522c6440a15'/>
<id>urn:sha1:9f7625195f5187638ab7c3275df29522c6440a15</id>
<content type='text'>
Approved by:	re (gnn)
</content>
</entry>
<entry>
<title>Disable support for /dev/ptmx in FreeBSD 7.0.  While it's a good idea in</title>
<updated>2007-12-06T10:15:29Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-12-06T10:15:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6d80dfcee4baac5686f1c27223fa916530c3fa9d'/>
<id>urn:sha1:6d80dfcee4baac5686f1c27223fa916530c3fa9d</id>
<content type='text'>
principle, the current devfs-based cloning facilit makes the current
user&lt;-&gt;kernel protocol for allocating new pts nodes difficult or
impossible to do without leading to resource leaks or race conditions.

We tentatively plan to reintroduce ptmx/pts support in FreeBSD 7.1 once
a fixed version has settled out in HEAD.  People who really want to run
with the current code can re-enable it but it will require tweaking
conf files and unifdef'ing it.  By removing it now before the release,
we avoid having to support the current allocation protocol in future
releases in order to provide backwards compatibility with older libc's.

Discussed with:	cognet, erwin
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Turn on MALLOC_PRODUCTION which turns off some stuff used for debugging</title>
<updated>2007-10-11T06:35:46Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2007-10-11T06:35:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=419d5e2694db7763cd4601f6548e151209cecb14'/>
<id>urn:sha1:419d5e2694db7763cd4601f6548e151209cecb14</id>
<content type='text'>
support.

Reminded by:	kris
Approved by:	re (implicit)
</content>
</entry>
<entry>
<title>The precision for a string argument in a call to warnx() needs to be cast</title>
<updated>2007-09-22T02:30:44Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-09-22T02:30:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8e5b20fa9c48e70a31578d3272401b3e94b7f53d'/>
<id>urn:sha1:8e5b20fa9c48e70a31578d3272401b3e94b7f53d</id>
<content type='text'>
to an int to remove the warning from using a size_t variable on 64-bit
platforms.

Submitted by:	Xin LI &lt;delphij@FreeBSD.org&gt;
Approved by:	wes
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Skip rebuilding environ in setenv() only upon reuse of an active variable;</title>
<updated>2007-09-15T21:48:54Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-09-15T21:48:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=21c376969a92384b3d4bd7638283474a66c9a737'/>
<id>urn:sha1:21c376969a92384b3d4bd7638283474a66c9a737</id>
<content type='text'>
inactive variables should cause a rebuild of environ, otherwise, exec()'d
processes will be missing a variable in environ that has been unset then
set.

Submitted by:	Taku Yamamoto &lt;taku@tackymt.homeip.net&gt;
Reviewed by:	ache
Approved by:	wes (mentor)
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Added environ-replacement detection.  For programs that "clean" (i.e., su)</title>
<updated>2007-07-20T23:30:13Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-07-20T23:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9bab236702b4f33a990011b08a2deebbb8ea6e0c'/>
<id>urn:sha1:9bab236702b4f33a990011b08a2deebbb8ea6e0c</id>
<content type='text'>
or replace (i.e., zdump) the environment after a call to setenv(), putenv()
or unsetenv() has been made, a few changes were made.
  - getenv() will return the value from the new environ array.
  - setenv() was split into two functions:  __setenv() which is most of the
    previous setenv() without checks on the name and setenv() which
    contains the checks before calling __setenv().
  - setenv(), putenv() and unsetenv() will unset all previous values and
    call __setenv() on all entries in the new environ array which in turn
    adds them to the end of the envVars array.  Calling __setenv() instead
    of setenv() is done to avoid the temporary replacement of the '=' in a
    string with a NUL byte.  Some strings may be read-only data.

Added more regression checks for clearing the environment array.

Replaced gettimeofday() with getrusage() in timing regression check for
better accuracy.

Fixed an off-by-one bug in __remove_putenv() in the use of memmove().  This
went unnoticed due to the allocation of double the number of environ
entries when building envVars.

Fixed a few spelling mistakes in the comments.

Reviewed by:	ache
Approved by:	wes
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Significantly reduce the memory leak as noted in BUGS section for</title>
<updated>2007-07-04T00:00:41Z</updated>
<author>
<name>Sean Farley</name>
<email>scf@FreeBSD.org</email>
</author>
<published>2007-07-04T00:00:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2966d28c322dcfa4b9db2558da0b91839e7798b9'/>
<id>urn:sha1:2966d28c322dcfa4b9db2558da0b91839e7798b9</id>
<content type='text'>
setenv(3) by tracking the size of the memory allocated instead of using
strlen() on the current value.

Convert all calls to POSIX from historic BSD API:
 - unsetenv returns an int.
 - putenv takes a char * instead of const char *.
 - putenv no longer makes a copy of the input string.
 - errno is set appropriately for POSIX.  Exceptions involve bad environ
   variable and internal initialization code.  These both set errno to
   EFAULT.

Several patches to base utilities to handle the POSIX changes from
Andrey Chernov's previous commit.  A few I re-wrote to use setenv()
instead of putenv().

New regression module for tools/regression/environ to test these
functions.  It also can be used to test the performance.

Bump __FreeBSD_version to 700050 due to API change.

PR:		kern/99826
Approved by:	wes
Approved by:	re (kensmith)
</content>
</entry>
</feed>
