<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/sh/memalloc.c, 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>Protect malloc, realloc and free calls with INT{ON,OFF} directly in chkalloc,</title>
<updated>2005-10-28T10:45:19Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-10-28T10:45:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=670528cd789a9ce3d51e32edddc02e6b7ff358f9'/>
<id>urn:sha1:670528cd789a9ce3d51e32edddc02e6b7ff358f9</id>
<content type='text'>
ckrealloc and ckfree (added), respectively.  sh jumps out of the signal handler
using longjmp which is obviously a bad idea during malloc calls.

Note: I think there is still a small race here because volatile sig_atomic_t
only guarantees atomic reads and writes while we're doing increments and
decrements.

Protect a setmode call with INT{ON,OFF} as it calls malloc internally.

PR:		45478
Patch from:	Nate Eldredge
</content>
</entry>
<entry>
<title>Remove clause 3 from the UCB licenses.</title>
<updated>2004-04-06T20:06:54Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-06T20:06:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9'/>
<id>urn:sha1:6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9</id>
<content type='text'>
OK'ed by:	imp, core
</content>
</entry>
<entry>
<title>Changes following CScout analysis:</title>
<updated>2003-07-05T15:18:44Z</updated>
<author>
<name>Diomidis Spinellis</name>
<email>dds@FreeBSD.org</email>
</author>
<published>2003-07-05T15:18:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2ba1b30bf50f04ab147452cfba7a3b9899f1d59c'/>
<id>urn:sha1:2ba1b30bf50f04ab147452cfba7a3b9899f1d59c</id>
<content type='text'>
- Removed dead declarations
- Made objects that should have been declared as static, static.

The changes use STATIC instead of static, following the existing
convention in the rest of the code.

Approved by:	schweikh (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Third attempt at removing machdep.h and using ALIGN from &lt;sys/param.h&gt;.</title>
<updated>2003-02-24T08:07:05Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-02-24T08:07:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=caecb2f4c0461df16da9895ea72ab65dd690d4e4'/>
<id>urn:sha1:caecb2f4c0461df16da9895ea72ab65dd690d4e4</id>
<content type='text'>
The initial stack_block is staticly allocated and will be aligned
according to the alignment requirements of pointers, which does not
necessarily match the alignment enforced by ALIGN. To solve this a
more involved change is required: remove the static initial stack
and deal with an initial condition of not having a stack at all. This
change is therefore more risky than the previous ones, but unavoidable
(other than not using the platform default alignment).

Discussed with: tjr
Approved and reviewed by: tjr
Tested on: alpha, i386, ia64 and sparc64
</content>
</entry>
<entry>
<title>Revert ALIGN change for the second and last time. I can't figure out</title>
<updated>2003-02-18T02:08:20Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-02-18T02:08:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b228ca4dea9e65047166b9a76474b9d16df4e9e9'/>
<id>urn:sha1:b228ca4dea9e65047166b9a76474b9d16df4e9e9</id>
<content type='text'>
why this is breaking sparc64.
</content>
</entry>
<entry>
<title>Second attempt at removing machdep.h and using ALIGN from &lt;sys/param.h&gt;.</title>
<updated>2003-02-17T03:51:44Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-02-17T03:51:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=decb00f6770a1e059fa7f9ee83cc6b103c48cf54'/>
<id>urn:sha1:decb00f6770a1e059fa7f9ee83cc6b103c48cf54</id>
<content type='text'>
The problem with the previous attempt, as noticed by Marcel, was that
stacknxt was being aligned to a pointer boundary instead of an
ALIGNBYTES + 1 boundary, which broke sparc64.
</content>
</entry>
<entry>
<title>Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,</title>
<updated>2003-02-16T03:28:11Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-02-16T03:28:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=da5f5439a41b93b4d83051d802e8a8409745c019'/>
<id>urn:sha1:da5f5439a41b93b4d83051d802e8a8409745c019</id>
<content type='text'>
using the alignment from sys/param.h (16) instead of the alignment
from machdep.h (8) tickled a nasty bug in the memory allocator that I
haven't been able to track down yet.
</content>
</entry>
<entry>
<title>Use the ALIGN macro from &lt;sys/param.h&gt; instead of defining our own</title>
<updated>2003-02-14T23:53:19Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2003-02-14T23:53:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=457ae4f0d40ee7c5779cb46619aa81c7ed645fb3'/>
<id>urn:sha1:457ae4f0d40ee7c5779cb46619aa81c7ed645fb3</id>
<content type='text'>
incorrect version in machdep.h. Delete machdep.h.
</content>
</entry>
<entry>
<title>Consistently use FBSDID</title>
<updated>2002-06-30T05:15:05Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-06-30T05:15:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2749b1412921cacde0110606121acb7a5e1e2b62'/>
<id>urn:sha1:2749b1412921cacde0110606121acb7a5e1e2b62</id>
<content type='text'>
</content>
</entry>
</feed>
