<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libc, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2013-02-21T20:40:37Z</updated>
<entry>
<title>MFC:</title>
<updated>2013-02-21T20:40:37Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2013-02-21T20:40:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0d1e4af4137d494e42695b12f61159cad9a3ac6f'/>
<id>urn:sha1:0d1e4af4137d494e42695b12f61159cad9a3ac6f</id>
<content type='text'>
r158812 (ache):

Reflect size_t changes in glob.h

Obtained from: NetBSD (mostly)

r159294:

 - ANSIfy.
 - Remove two unnecessary casts.

r243779 (marcel):

Protect against DoS attacks, such as being described in CVE-2010-2632.
The changes were derived from what has been committed to NetBSD, with
modifications.

This fixes FreeBSD-SA-13:02.libc for stable/6.
</content>
</entry>
<entry>
<title>MFC r206760: getcwd(3): Clarify that EACCES may or may not be checked.</title>
<updated>2010-05-05T22:23:29Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-05-05T22:23:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a643b58b02e340926c8e37a4c318eaf3afe5089e'/>
<id>urn:sha1:a643b58b02e340926c8e37a4c318eaf3afe5089e</id>
<content type='text'>
POSIX permits but does not require checking access on the current and parent
directories.

Because various programs do not like it if getcwd(3) fails, it seems best
to avoid checking access as much as possible. There are various reports in
GNATS about this (search for getcwd).

Our getcwd(3) implementation first queries the kernel for the pathname
directly, which does not check any permissions but sometimes fails, and then
falls back to reading all parent directories for the names.

PR:		standards/44425
</content>
</entry>
<entry>
<title>MFC: r173859, r205410</title>
<updated>2010-03-30T19:16:00Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T19:16:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3889416785ce82a1dbc9eede529cb3bb2fc5edd4'/>
<id>urn:sha1:3889416785ce82a1dbc9eede529cb3bb2fc5edd4</id>
<content type='text'>
Avoid aliasing which leads to incorrect results when compiling with the
default strict aliasing rules.

PR:		144900
Submitted by:	Peter Jeremy
</content>
</entry>
<entry>
<title>MFC: r205397</title>
<updated>2010-03-30T19:08:05Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T19:08:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=eec5ee8d89a90cb0f6b40494302221040a008b38'/>
<id>urn:sha1:eec5ee8d89a90cb0f6b40494302221040a008b38</id>
<content type='text'>
- While SPARC V9 allows tininess to be detected either before or after
  rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and
  UltraSPARC processors defines that in all cases tinyness is detected
  before rounding, therefore rounding up to the smallest normalised
  number should set the underflow flag.
- If an infinite result is rounded down, the result should have an
  exponent 1 less than the value for infinity.

PR:		144900
Submitted by:	Peter Jeremy
</content>
</entry>
<entry>
<title>MFC: r205396</title>
<updated>2010-03-30T19:06:37Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T19:06:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d9a9c27d3a66de82cfdec293ac9901a4c55eca56'/>
<id>urn:sha1:d9a9c27d3a66de82cfdec293ac9901a4c55eca56</id>
<content type='text'>
Division should take both arguments' signs into account when the
the dividend is infinity or zero and the divisor is not the same.

PR:		144900
Submitted by:	Peter Jeremy
</content>
</entry>
<entry>
<title>MFC: r205395</title>
<updated>2010-03-30T19:05:20Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T19:05:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ab65c999c6e57343c2b6e302c361069e47d96b5a'/>
<id>urn:sha1:ab65c999c6e57343c2b6e302c361069e47d96b5a</id>
<content type='text'>
FPU_DEBUG requires &lt;stdio.h&gt;.

PR:		144900
Submitted by:	Peter Jeremy
</content>
</entry>
<entry>
<title>MFC: r205394</title>
<updated>2010-03-30T19:03:29Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T19:03:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f6c0f505e6669a975e6c5e3aa446a89db4433b91'/>
<id>urn:sha1:f6c0f505e6669a975e6c5e3aa446a89db4433b91</id>
<content type='text'>
Ensure that __fpu_ftox() both returns the high bits and res[1] contains
the low bits also in the default case.

PR:i		144900
Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>MFC: r205393</title>
<updated>2010-03-30T18:58:08Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-30T18:58:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1abb0dcd2f770c6abf482642e2e2aab43e47ec2e'/>
<id>urn:sha1:1abb0dcd2f770c6abf482642e2e2aab43e47ec2e</id>
<content type='text'>
- Remove a bogus forward declaration.
- Fix whitespace.
</content>
</entry>
<entry>
<title>MFC r204447:</title>
<updated>2010-03-19T12:07:28Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2010-03-19T12:07:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=35e60448ad42fecb1dcd7e735a0663906c021e86'/>
<id>urn:sha1:35e60448ad42fecb1dcd7e735a0663906c021e86</id>
<content type='text'>
In _gettemp(), check that the length of the path doesn't exceed
MAXPATHLEN. Otherwise the path name (or part of it) may not fit to
carrybuf causing a buffer overflow.

PR:		bin/140228
</content>
</entry>
<entry>
<title>MFC: r204974, r205002</title>
<updated>2010-03-15T18:33:32Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2010-03-15T18:33:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=004772d53148d37f9b091a804dbd866c9ccff49c'/>
<id>urn:sha1:004772d53148d37f9b091a804dbd866c9ccff49c</id>
<content type='text'>
- The OPSZ macro actually only does the right thing for int32 and int64
  operands but not for double and extended double ones. Instead of trying
  to fix the macro just nuke it and unroll the loops in the correct way
  though as extended double operands turn out to be the only special case.
- For FxTO{s,d,q} the source operand is int64 so rs2 has to be re-decoded
  after setting type accordingly as it's generally decoded using the low
  2 bits as the type, which are 0 for these three instructions.
- Similarly, in case of F{s,d,q}TOx the target is int64 so rd has to be
  re-decoded using not only the operand mask appropriate for int64 but
  also the correct register number encoding.
- Use const where appropriate.
- Wrap long lines.

Submitted by:	Peter Jeremy (partly)
</content>
</entry>
</feed>
