<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/util, branch master</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>auth: Remove talloc_set_name_const() if talloc_keep_secret() changes the talloc name</title>
<updated>2026-03-25T21:16:35+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T19:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c891b337f03a3b619bad804130beb5c6d087e9d0'/>
<id>c891b337f03a3b619bad804130beb5c6d087e9d0</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(timing): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(timing): Wed Mar 25 21:16:35 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;

Autobuild-User(timing): Pavel Filipensky &lt;pfilipensky@samba.org&gt;
Autobuild-Date(timing): Wed Mar 25 21:16:35 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>util/tests: Test that talloc_keep_secret() does not overwrite the name</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T18:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b38c738409d27f63f05f598f6d00b71d2d2149df'/>
<id>b38c738409d27f63f05f598f6d00b71d2d2149df</id>
<content type='text'>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/util: Overwrite talloc name in talloc_keep_secret() only if it would reveal memory content</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T16:39:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=af22b4de252a07cc690d1aaa811b9e3ac245489e'/>
<id>af22b4de252a07cc690d1aaa811b9e3ac245489e</id>
<content type='text'>
Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pair-Programmed-With: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>util/tests: Extend the 'test_talloc_keep_secret' test</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T18:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c1d0449b147664c759fb3ebcb7fa94ff369cd9d3'/>
<id>c1d0449b147664c759fb3ebcb7fa94ff369cd9d3</id>
<content type='text'>
Test that talloc_strdup() puts the secret as talloc name.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test that talloc_strdup() puts the secret as talloc name.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "lib/util: Avoid overwriting talloc chunk name in talloc_keep_secret()"</title>
<updated>2026-03-25T20:10:37+00:00</updated>
<author>
<name>Pavel Filipenský</name>
<email>pfilipensky@samba.org</email>
</author>
<published>2026-03-11T16:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3e9d572929b06e7f55a4be2e5cc384d77e1d3547'/>
<id>3e9d572929b06e7f55a4be2e5cc384d77e1d3547</id>
<content type='text'>
This reverts commit 7e693b55730ceba2ef326286a0c68d5d91324a22.

Without this commit, for memory allocated via e.g. talloc_strdup(),
talloc name would reveal memory content.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7e693b55730ceba2ef326286a0c68d5d91324a22.

Without this commit, for memory allocated via e.g. talloc_strdup(),
talloc name would reveal memory content.

Signed-off-by: Pavel Filipenský &lt;pfilipensky@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:util: Remove is_aligned prototype from alignment.h</title>
<updated>2026-03-23T08:23:50+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2026-03-22T19:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fbf691a80e88c183a81ae655d32b0819509aa0db'/>
<id>fbf691a80e88c183a81ae655d32b0819509aa0db</id>
<content type='text'>
is_aligned is now defined as static inline, so there's no need for the
prototype

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Mon Mar 23 08:23:50 UTC 2026 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is_aligned is now defined as static inline, so there's no need for the
prototype

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;

Autobuild-User(master): Anoop C S &lt;anoopcs@samba.org&gt;
Autobuild-Date(master): Mon Mar 23 08:23:50 UTC 2026 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:util add alignment utilities</title>
<updated>2026-03-20T13:27:34+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2026-03-18T00:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4a43a503d1eef064a94912d2e5c6ab46391a50a9'/>
<id>4a43a503d1eef064a94912d2e5c6ab46391a50a9</id>
<content type='text'>
Add utilities to allow checking of pointer alignment.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add utilities to allow checking of pointer alignment.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove the "getwd cache"</title>
<updated>2026-03-01T20:19:35+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-16T16:40:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5368789646793730f97b3759810c2f7a3510a95f'/>
<id>5368789646793730f97b3759810c2f7a3510a95f</id>
<content type='text'>
No longer needed

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer needed

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>torture: Use SINGLETON_CACHE_TALLOC in tests</title>
<updated>2026-03-01T20:19:35+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2026-02-16T16:38:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=125c41a356f7dae2ae0c3dde19262ae717690972'/>
<id>125c41a356f7dae2ae0c3dde19262ae717690972</id>
<content type='text'>
GETWD_CACHE is on its way out. Despite not having _TALLOC in its name
nor it being marked as talloc in memcache.h, memcache_is_talloc()
shows it as being talloc'ed.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GETWD_CACHE is on its way out. Despite not having _TALLOC in its name
nor it being marked as talloc in memcache.h, memcache_is_talloc()
shows it as being talloc'ed.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Move jansson detection and related options to lib/util</title>
<updated>2026-02-20T00:47:32+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>mschwenke@ddn.com</email>
</author>
<published>2026-02-17T00:17:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=138aa2b63a9eccb145c1c44fb74d052a5dc40242'/>
<id>138aa2b63a9eccb145c1c44fb74d052a5dc40242</id>
<content type='text'>
This means that standalone builds (e.g. CTDB) can use it.

The check for without JSON but with AD DC stays in the top-level
wscript.

Signed-off-by: Martin Schwenke &lt;mschwenke@ddn.com&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that standalone builds (e.g. CTDB) can use it.

The check for without JSON but with AD DC stays in the top-level
wscript.

Signed-off-by: Martin Schwenke &lt;mschwenke@ddn.com&gt;
Reviewed-by: Anoop C S &lt;anoopcs@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
