<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/util/tests/genrand.c, branch talloc-2.4.4</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>util: Free memory in genrand torture test to satisfy sanitizer</title>
<updated>2019-08-08T10:08:32+00:00</updated>
<author>
<name>Swen Schillig</name>
<email>swen@linux.ibm.com</email>
</author>
<published>2019-07-29T08:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=235288acaedf39ea386121347343d56df3d1d858'/>
<id>235288acaedf39ea386121347343d56df3d1d858</id>
<content type='text'>
Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Matthias Dieter Wallnöfer &lt;mdw@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Matthias Dieter Wallnöfer &lt;mdw@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rely on /dev/urandom</title>
<updated>2015-10-13T02:25:38+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2015-10-01T22:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e73ccc06efc3b489cac33e99b2cb86e022aabd7f'/>
<id>e73ccc06efc3b489cac33e99b2cb86e022aabd7f</id>
<content type='text'>
This removes quite a bit of code. All reasonable systems have /dev/urandom
these days. Linux, Solaris and the BSDs do.  In case we find a system
without /dev/urandom, we will have to go hunting in other libraries.

The main reason for this is speed: On Ubuntu 14.04 doing direct reads from
/dev/urandom is 2-3 times faster than our md4 based code. On virtualized
FreeBSD 10 the difference is even larger.

My first approach was to use fopen/fread. It was even faster, but less
than twice as fast. So I thought we could save the additional complexity
when having to deal with throwing away buffers when forking and the
additional memory footprint per process.

With this simple generate_random_buffer it will be easier to adapt new
syscalls to get randomness.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Tue Oct 13 04:25:39 CEST 2015 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes quite a bit of code. All reasonable systems have /dev/urandom
these days. Linux, Solaris and the BSDs do.  In case we find a system
without /dev/urandom, we will have to go hunting in other libraries.

The main reason for this is speed: On Ubuntu 14.04 doing direct reads from
/dev/urandom is 2-3 times faster than our md4 based code. On virtualized
FreeBSD 10 the difference is even larger.

My first approach was to use fopen/fread. It was even faster, but less
than twice as fast. So I thought we could save the additional complexity
when having to deal with throwing away buffers when forking and the
additional memory footprint per process.

With this simple generate_random_buffer it will be easier to adapt new
syscalls to get randomness.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Tue Oct 13 04:25:39 CEST 2015 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/util/tests: add missing #include "torture/local/proto.h"</title>
<updated>2014-04-02T07:03:44+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2014-02-27T08:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8ba775b0a3e22a83bca092114dbb9f345d6ff89f'/>
<id>8ba775b0a3e22a83bca092114dbb9f345d6ff89f</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/util: improve check_password_quality() to handle utf8</title>
<updated>2013-02-04T16:14:22+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2013-02-04T07:45:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=65f2bba559a33edb3c352d552aebb259e5e008eb'/>
<id>65f2bba559a33edb3c352d552aebb259e5e008eb</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4-smbtorture: Make test names lowercase and dot-separated.</title>
<updated>2010-12-11T03:16:13+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2010-12-11T02:26:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=35fbc7bbda5851f7172538f79fc79be201f1d521'/>
<id>35fbc7bbda5851f7172538f79fc79be201f1d521</id>
<content type='text'>
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken password quality check</title>
<updated>2009-07-19T14:00:19+00:00</updated>
<author>
<name>Matthieu Patou</name>
<email>mat+Informatique.Samba@matws.net</email>
</author>
<published>2009-07-11T13:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a817cff5a0f17c6a8b35013483a18c70acdfaa1c'/>
<id>a817cff5a0f17c6a8b35013483a18c70acdfaa1c</id>
<content type='text'>
This fixes broken password tests when the passwords contain non ASCII characters
(e.g. accentuated chars like ('e, `e, ...)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes broken password tests when the passwords contain non ASCII characters
(e.g. accentuated chars like ('e, `e, ...)
</pre>
</div>
</content>
</entry>
<entry>
<title>Move lib/util from source4 to top-level libutil.</title>
<updated>2008-10-11T19:05:38+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@samba.org</email>
</author>
<published>2008-10-11T19:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=caa4e428604780bb098060f7286c69d30c8b4007'/>
<id>caa4e428604780bb098060f7286c69d30c8b4007</id>
<content type='text'>
Conflicts:

	source4/Makefile
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	source4/Makefile
</pre>
</div>
</content>
</entry>
</feed>
