<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/util/talloc_stack.c, branch talloc-2.0.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>talloc: added talloc_stackframe_exists()</title>
<updated>2011-06-17T05:25:42+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2011-06-17T04:22:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b07e4933b7ed4b2452cfdd9d223eecb8c0b74fec'/>
<id>b07e4933b7ed4b2452cfdd9d223eecb8c0b74fec</id>
<content type='text'>
This can be used to tell if a talloc stackframe is currently
available. Callers can use this to decide if they will use
talloc_tos() or instead use an alternative strategy. This gives us a
way to safely have calls to talloc_tos() in common code that may end
up in external libraries, as long as all talloc_tos() calls in these
pieces of common code check first that a stackframe is available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This can be used to tell if a talloc stackframe is currently
available. Callers can use this to decide if they will use
talloc_tos() or instead use an alternative strategy. This gives us a
way to safely have calls to talloc_tos() in common code that may end
up in external libraries, as long as all talloc_tos() calls in these
pieces of common code check first that a stackframe is available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use TALLOC_FREE in talloc_pop()</title>
<updated>2010-03-21T16:12:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-03-21T14:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d097d9fb09ff1f4acc4c8407a1a7903b6ef197de'/>
<id>d097d9fb09ff1f4acc4c8407a1a7903b6ef197de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()</title>
<updated>2010-03-21T16:12:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-03-21T14:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0f3040a61fc51434e07ed5a87a89eda25e196514'/>
<id>0f3040a61fc51434e07ed5a87a89eda25e196514</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim an overlong line</title>
<updated>2010-03-21T16:12:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-03-21T14:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6695b0e87d135dff759ce202cf61de49e062e946'/>
<id>6695b0e87d135dff759ce202cf61de49e062e946</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc_stack: reset stackframe pointers to NULL</title>
<updated>2010-03-15T14:08:24+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2010-03-15T13:39:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d23581b4d7a4936002c1d2d748836aead9215120'/>
<id>d23581b4d7a4936002c1d2d748836aead9215120</id>
<content type='text'>
This makes it easier to debug the code in future.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it easier to debug the code in future.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>talloc_stack: make sure we never let talloc_tos() return ts-&gt;talloc_stack[-1]</title>
<updated>2010-03-15T14:08:23+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2010-03-15T13:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=10ed809a1a31be50ce09142eb99b3a243ae8b940'/>
<id>10ed809a1a31be50ce09142eb99b3a243ae8b940</id>
<content type='text'>
In smbd there's a small gab between TALLOC_FREE(frame); before
be call smbd_parent_loop() where we don't have a valid talloc stackframe.

smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop.
As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct
the time header for the debug message we crash on some systems.

metze
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In smbd there's a small gab between TALLOC_FREE(frame); before
be call smbd_parent_loop() where we don't have a valid talloc stackframe.

smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop.
As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct
the time header for the debug message we crash on some systems.

metze
</pre>
</div>
</content>
</entry>
<entry>
<title>Take advantage of the easier-to-use thread macros</title>
<updated>2009-05-13T18:37:28+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell@dworkin.(none)</email>
</author>
<published>2009-05-13T18:33:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=045af600f299f55f5a5b09a23b753ba97880aa06'/>
<id>045af600f299f55f5a5b09a23b753ba97880aa06</id>
<content type='text'>
- Now that we initialize for the non-thread-safe case in the macro, there's no
  need to do it here too.

Derrell
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Now that we initialize for the non-thread-safe case in the macro, there's no
  need to do it here too.

Derrell
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow a parameter to smb_thread_once's initialization function</title>
<updated>2009-05-13T13:50:17+00:00</updated>
<author>
<name>Derrell Lipman</name>
<email>derrell@dworkin.(none)</email>
</author>
<published>2009-05-13T13:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e03b9ae609a3ef856c483832332e307975a1bf0a'/>
<id>e03b9ae609a3ef856c483832332e307975a1bf0a</id>
<content type='text'>
- This should make life easier for ourselves. We're no longer constrained to
  the semantics of pthread_once, so let's allow passing a parameter to the
  initialization function. Some of Samba's init functions return a
  value. Although I haven't searched, I suspect that some of the init
  functions require in input parameters. The parameter added here can be used
  for input, output, or both, as necessary... or ignored, as is now done in
  talloc_stackframe_init().

Derrell
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- This should make life easier for ourselves. We're no longer constrained to
  the semantics of pthread_once, so let's allow passing a parameter to the
  initialization function. Some of Samba's init functions return a
  value. Although I haven't searched, I suspect that some of the init
  functions require in input parameters. The parameter added here can be used
  for input, output, or both, as necessary... or ignored, as is now done in
  talloc_stackframe_init().

Derrell
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to fix build farm on platforms where pthread_once_t is a struct.</title>
<updated>2009-04-20T11:00:06+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-04-20T11:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=399c765538d91c696efd1496fffd9ae1e876f3ae'/>
<id>399c765538d91c696efd1496fffd9ae1e876f3ae</id>
<content type='text'>
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the pthread_once initialization issue. Make talloc_stackframe use</title>
<updated>2009-04-20T10:04:42+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-04-20T10:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3d2e95c296a1858986b9c806dff67c9cc3d8f70d'/>
<id>3d2e95c296a1858986b9c806dff67c9cc3d8f70d</id>
<content type='text'>
this.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this.
Jeremy.
</pre>
</div>
</content>
</entry>
</feed>
