<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc, branch releng/7.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Change the current working directory to be inside the jail created by</title>
<updated>2010-05-27T03:15:04+00:00</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2010-05-27T03:15:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5a4327739c52195c780993710fce9dc10fe7c9b6'/>
<id>5a4327739c52195c780993710fce9dc10fe7c9b6</id>
<content type='text'>
the jail(8) command. [10:04]

Fix a one-NUL-byte buffer overflow in libopie. [10:05]

Correctly sanity-check a buffer length in nfs mount. [10:06]

Approved by:	so (cperciva)
Approved by:	re (kensmith)
Security:	FreeBSD-SA-10:04.jail
Security:	FreeBSD-SA-10:05.opie
Security:	FreeBSD-SA-10:06.nfsclient
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the jail(8) command. [10:04]

Fix a one-NUL-byte buffer overflow in libopie. [10:05]

Correctly sanity-check a buffer length in nfs mount. [10:06]

Approved by:	so (cperciva)
Approved by:	re (kensmith)
Security:	FreeBSD-SA-10:04.jail
Security:	FreeBSD-SA-10:05.opie
Security:	FreeBSD-SA-10:06.nfsclient
</pre>
</div>
</content>
</entry>
<entry>
<title>MFS r192477: Fix packet length calculation in bce(4). [EN-09:02]</title>
<updated>2009-06-24T05:28:09+00:00</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2009-06-24T05:28:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=90c934b8926926502eca5d72b3f66a9ad00e38d9'/>
<id>90c934b8926926502eca5d72b3f66a9ad00e38d9</id>
<content type='text'>
MFS r191867: Correctly set IP packet length for TSO in fxp(4). [EN-09:03]

MFS r191767: Fix a lock order reversal bug that could cause deadlock during
fork(2). [EN-09:04]

Submitted by:	re (kensmith)
Approved by:	so (cperciva)
Errata:		FreeBSD-SA-09:02.bce
Errata:		FreeBSD-SA-09:03.fxp
Errata:		FreeBSD-SA-09:04.fork
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFS r191867: Correctly set IP packet length for TSO in fxp(4). [EN-09:03]

MFS r191767: Fix a lock order reversal bug that could cause deadlock during
fork(2). [EN-09:04]

Submitted by:	re (kensmith)
Approved by:	so (cperciva)
Errata:		FreeBSD-SA-09:02.bce
Errata:		FreeBSD-SA-09:03.fxp
Errata:		FreeBSD-SA-09:04.fork
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r191414</title>
<updated>2009-04-23T17:19:25+00:00</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2009-04-23T17:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=563a73f034278f43b88f0dbdd8c3a6a567aebd18'/>
<id>563a73f034278f43b88f0dbdd8c3a6a567aebd18</id>
<content type='text'>
Correct the information about when the respective functionality first
appeared in FreeBSD.

Approved by:  re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct the information about when the respective functionality first
appeared in FreeBSD.

Approved by:  re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH r190382,190416,190525:</title>
<updated>2009-04-12T19:06:41+00:00</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2009-04-12T19:06:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2cba1749222b437072476ad1dbe6e4e592da6a46'/>
<id>2cba1749222b437072476ad1dbe6e4e592da6a46</id>
<content type='text'>
- getaddrinfo(3) should accept numeric when ai_socktype is not
  specified in hint or hints is NULL.
- Add support for SCTP to getaddrinfo(3).
  Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and
  IPPROTO_SCTP.  It confuses some programs.  If getaddrinfo(3) returns
  IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at
  least Apache doesn't work.  So, I made getaddrinfo(3) to return
  IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified
  explicitly by hints.ai_protocol.
- Query DNS only once per an address family.

Approved by:	re (kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- getaddrinfo(3) should accept numeric when ai_socktype is not
  specified in hint or hints is NULL.
- Add support for SCTP to getaddrinfo(3).
  Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and
  IPPROTO_SCTP.  It confuses some programs.  If getaddrinfo(3) returns
  IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at
  least Apache doesn't work.  So, I made getaddrinfo(3) to return
  IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified
  explicitly by hints.ai_protocol.
- Query DNS only once per an address family.

Approved by:	re (kib)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r190482: zero out memory before use and free.</title>
<updated>2009-04-11T15:19:26+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2009-04-11T15:19:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a0b7611fb83c6a67e4e957cf933c8a2917480c33'/>
<id>a0b7611fb83c6a67e4e957cf933c8a2917480c33</id>
<content type='text'>
Approved by:	re (kib)
Security:	Potential Information Leak
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (kib)
Security:	Potential Information Leak
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r190266:</title>
<updated>2009-03-25T15:42:07+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-25T15:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e8c562aaf0c1528456f4921ee25ad3a2a7c997c9'/>
<id>e8c562aaf0c1528456f4921ee25ad3a2a7c997c9</id>
<content type='text'>
7.2 will be the first release where strndup() appears.

Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7.2 will be the first release where strndup() appears.

Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>Mostly synchronize  lib/libthr and sys/kern/kern_umtx.c with the code</title>
<updated>2009-03-24T20:57:10+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-24T20:57:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5da9fe5b5d84c14339b36ecf7f6f52b5b95076cd'/>
<id>5da9fe5b5d84c14339b36ecf7f6f52b5b95076cd</id>
<content type='text'>
from HEAD.

Since libkse is still built on RELENG_7, pthread_cleanup_push/pop
are left as the functions, but the support code in libthr is present for
the macro versions.

Malloc in RELENG_7 does not require thread exit hook, but I decided
to add empty handler for it, instead of removing callback from thr_exit().

No mergeinfo since this change is prepared by patching libthr and then
bringing in required missed bits.

Requested by:	bms
Reviewed by:	davidxu
Tested by:	bms, Mykola Dzham &lt;i levsha org ua&gt;
Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from HEAD.

Since libkse is still built on RELENG_7, pthread_cleanup_push/pop
are left as the functions, but the support code in libthr is present for
the macro versions.

Malloc in RELENG_7 does not require thread exit hook, but I decided
to add empty handler for it, instead of removing callback from thr_exit().

No mergeinfo since this change is prepared by patching libthr and then
bringing in required missed bits.

Requested by:	bms
Reviewed by:	davidxu
Tested by:	bms, Mykola Dzham &lt;i levsha org ua&gt;
Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>Partial MFC of r189131:</title>
<updated>2009-03-14T18:19:50+00:00</updated>
<author>
<name>David Schultz</name>
<email>das@FreeBSD.org</email>
</author>
<published>2009-03-14T18:19:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b046f4c0c76df7520dfe09e23395dc8352e5b7df'/>
<id>b046f4c0c76df7520dfe09e23395dc8352e5b7df</id>
<content type='text'>
  Make sure %zd treats negative arguments properly on 32-bit platforms.

  PR:		131880
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Make sure %zd treats negative arguments properly on 32-bit platforms.

  PR:		131880
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r189283:</title>
<updated>2009-03-12T13:45:55+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-12T13:45:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3112e9d48546c4c7b13a53224e8907a102ab2b0e'/>
<id>3112e9d48546c4c7b13a53224e8907a102ab2b0e</id>
<content type='text'>
Correct types of variables used to track amount of allocated SysV shared
memory from int to size_t. Implement a workaround for current ABI not
allowing to properly save size for and report more then 2GB sized segment
of shared memory.

This makes it possible to use &gt; 2 GB shared memory segments on 64bit
architectures. Please note the new BUGS section in shmctl(2) and
UPDATING note for limitations of this temporal solution.

MFC r189398:
Systematically use vm_size_t to specify the size of the segment for VM KPI.
Do not overload the local variable size in kern_shmat() due to vm_size_t
change.
Fix style bug by adding explicit comparision with 0.

MFC r189399:
Improve the grammar and wording in the changes to shmctl(2) manpage.

Put an UPDATING entry and bump __FreeBSD_version for the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct types of variables used to track amount of allocated SysV shared
memory from int to size_t. Implement a workaround for current ABI not
allowing to properly save size for and report more then 2GB sized segment
of shared memory.

This makes it possible to use &gt; 2 GB shared memory segments on 64bit
architectures. Please note the new BUGS section in shmctl(2) and
UPDATING note for limitations of this temporal solution.

MFC r189398:
Systematically use vm_size_t to specify the size of the segment for VM KPI.
Do not overload the local variable size in kern_shmat() due to vm_size_t
change.
Fix style bug by adding explicit comparision with 0.

MFC r189399:
Improve the grammar and wording in the changes to shmctl(2) manpage.

Put an UPDATING entry and bump __FreeBSD_version for the change.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: Add support for "superpages" on amd64 and i386.  This includes adding the</title>
<updated>2009-02-26T15:59:22+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-02-26T15:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=15826f991ff92f0afe64311327d5a2f38aae5cbf'/>
<id>15826f991ff92f0afe64311327d5a2f38aae5cbf</id>
<content type='text'>
superpage reservation system to the machine-independent VM system as well as
changes to the pmap code for amd64 and i386 to support superpages.

Reviewed by:	alc
Tested by:	ps
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
superpage reservation system to the machine-independent VM system as well as
changes to the pmap code for amd64 and i386 to support superpages.

Reviewed by:	alc
Tested by:	ps
</pre>
</div>
</content>
</entry>
</feed>
