<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/openbsm/bin/auditdistd/sender.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove invalid comments and correct some typos.</title>
<updated>2018-10-04T05:57:27+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2018-10-04T05:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=58554c8d88ba1a069bbda55dcec4ea96db0aec71'/>
<id>58554c8d88ba1a069bbda55dcec4ea96db0aec71</id>
<content type='text'>
Approved by:	re (kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (kib)
</pre>
</div>
</content>
</entry>
<entry>
<title>When the adist_free list is empty and we lose connection to the receiver we</title>
<updated>2018-10-04T05:54:57+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2018-10-04T05:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0785e8cedcf73c77690bf682eef3307f389751f3'/>
<id>0785e8cedcf73c77690bf682eef3307f389751f3</id>
<content type='text'>
move all elements from the adist_send and adist_recv lists back onto the
adist_free list, but we don't wake consumers waitings for the adist_free list
to become non-empty. This can lead to the sender process stopping audit trail
files distribution and waiting forever.

Fix the problem by adding the missing wakeup.

While here slow down spinning on CPU in case of a short race in
sender_disconnect() and add an explaination when it can occur.

PR:		201953
Reported by:	peter
Approved by:	re (kib)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
move all elements from the adist_send and adist_recv lists back onto the
adist_free list, but we don't wake consumers waitings for the adist_free list
to become non-empty. This can lead to the sender process stopping audit trail
files distribution and waiting forever.

Fix the problem by adding the missing wakeup.

While here slow down spinning on CPU in case of a short race in
sender_disconnect() and add an explaination when it can occur.

PR:		201953
Reported by:	peter
Approved by:	re (kib)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge OpenBSM 1.2 alpha 4.</title>
<updated>2015-12-18T09:48:01+00:00</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2015-12-18T09:48:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b6a05070fa77edc7ce6e60b61623fd806e807be6'/>
<id>b6a05070fa77edc7ce6e60b61623fd806e807be6</id>
<content type='text'>
MFC after:	2 weeks
Relnotes:	yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks
Relnotes:	yes
</pre>
</div>
</content>
</entry>
<entry>
<title>Unlock the right lock.</title>
<updated>2014-08-28T11:50:52+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2014-08-28T11:50:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f6aec90ff8521301da9c6bc04310e1ab25a410c'/>
<id>4f6aec90ff8521301da9c6bc04310e1ab25a410c</id>
<content type='text'>
The adist_remote_lock is not held in this place, whereas the
adist_recv_list_lock lock is and is picked up during the next iteration.

I found this by annotating our libpthread with Clang's -Wthread-safety
attributes. I will send out a patch for this in the nearby future,
because it's awesome.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The adist_remote_lock is not held in this place, whereas the
adist_recv_list_lock lock is and is picked up during the next iteration.

I found this by annotating our libpthread with Clang's -Wthread-safety
attributes. I will send out a patch for this in the nearby future,
because it's awesome.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>When we are waiting for new trail files we may have been disconnected and</title>
<updated>2013-02-28T01:24:24+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2013-02-28T01:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a66ffea41d7ea4e39a49bc146e6f6decb4fbd02c'/>
<id>a66ffea41d7ea4e39a49bc146e6f6decb4fbd02c</id>
<content type='text'>
reconnected in the meantime. Check if reset is set before opening next trail
file, as not doing so will result in sending OPEN message with the same
file name twice and this is illegal - the second OPEN is send without first
closing previous trail file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reconnected in the meantime. Check if reset is set before opening next trail
file, as not doing so will result in sending OPEN message with the same
file name twice and this is illegal - the second OPEN is send without first
closing previous trail file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge OpenBSM 1.2-alpha2 from vendor branch to FreeBSD 10-CURRENT; the</title>
<updated>2012-12-01T11:58:08+00:00</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2012-12-01T11:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=aa77200569e397d6ff1fdb4d255d0fa254d0a128'/>
<id>aa77200569e397d6ff1fdb4d255d0fa254d0a128</id>
<content type='text'>
primary new feature is auditdistd.

Obtained from:	TrustedBSD Project
Sponsored by:	The FreeBSD Foundation (auditdistd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
primary new feature is auditdistd.

Obtained from:	TrustedBSD Project
Sponsored by:	The FreeBSD Foundation (auditdistd)
</pre>
</div>
</content>
</entry>
</feed>
