<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil/pidfile.3, branch releng/8.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add missing .Pp</title>
<updated>2009-06-06T17:34:49+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-06-06T17:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a27c52a943d6e236977c19df7e1f86f1b667b523'/>
<id>a27c52a943d6e236977c19df7e1f86f1b667b523</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pidfile(3) uses flopen(3) - don't make any assumptions about how the</title>
<updated>2008-10-20T18:00:11+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-20T18:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cb7cd07a0756ad4913c256d831461658e02e1249'/>
<id>cb7cd07a0756ad4913c256d831461658e02e1249</id>
<content type='text'>
latter is implemented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
latter is implemented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor mdoc cleanup: Every sentence should start on its own line.</title>
<updated>2007-10-13T11:09:45+00:00</updated>
<author>
<name>Simon L. B. Nielsen</name>
<email>simon@FreeBSD.org</email>
</author>
<published>2007-10-13T11:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3dca093960479618c24f8b6470402fd6f216803f'/>
<id>3dca093960479618c24f8b6470402fd6f216803f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>When pidfile is already locked and has zero length, do not return</title>
<updated>2007-10-12T10:38:05+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-10-12T10:38:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fefc6803cf08cdda7416d62e41b54d59dabfdad5'/>
<id>fefc6803cf08cdda7416d62e41b54d59dabfdad5</id>
<content type='text'>
success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep
up to three times for 5 ms while waiting for pidfile to be written.

mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated,
that would result in the SIGHUP delivered to the mount' process group
instead of the mountd.

Found and analyzed by:	Peter Holm
Tested by:	Peter Holm, kris
Reviewed by:	pjd
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
success and zero pid from pidfile_read(). Return EAGAIN instead. Sleep
up to three times for 5 ms while waiting for pidfile to be written.

mount(8) does the kill(mountpid, SIGHUP). If mountd pidfile is truncated,
that would result in the SIGHUP delivered to the mount' process group
instead of the mountd.

Found and analyzed by:	Peter Holm
Tested by:	Peter Holm, kris
Reviewed by:	pjd
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `intmax_t' instead of plain `int' for pid_t casts.</title>
<updated>2006-03-04T15:20:28+00:00</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2006-03-04T15:20:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ef608a60087fcf462e85395fa22860a298cbecfc'/>
<id>ef608a60087fcf462e85395fa22860a298cbecfc</id>
<content type='text'>
Useful tips from:	ru, bde
Approved by:		pjd
MFC after:		3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Useful tips from:	ru, bde
Approved by:		pjd
MFC after:		3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>- Add a note that passing NULL to pidfile_write(), pidfile_remove() and</title>
<updated>2006-01-28T14:13:15+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-01-28T14:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=560c4fc142b33d9cf6f202ed76886350444b1992'/>
<id>560c4fc142b33d9cf6f202ed76886350444b1992</id>
<content type='text'>
  pidfile_close() functions is safe. This possibility is used in example code.
- Cast pid_t to int.

Requested by:	yar
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  pidfile_close() functions is safe. This possibility is used in example code.
- Cast pid_t to int.

Requested by:	yar
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix markup, grammar and spelling.</title>
<updated>2005-11-18T14:21:28+00:00</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-18T14:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b84cd5819ed47f48f9b7ee5530a91b2f067ae34'/>
<id>6b84cd5819ed47f48f9b7ee5530a91b2f067ae34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Pidfiles should be created with permission preventing users from opening</title>
<updated>2005-09-16T11:24:28+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-09-16T11:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8b28aef23886c140d14d326e9f1df96f7986cd29'/>
<id>8b28aef23886c140d14d326e9f1df96f7986cd29</id>
<content type='text'>
them for reading. When user can open file for reading, he can also
flock(2) it, which can lead to confusions.

Pointed out by:	green
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
them for reading. When user can open file for reading, he can also
flock(2) it, which can lead to confusions.

Pointed out by:	green
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a family of functions for reliable pidfiles handling.</title>
<updated>2005-08-24T17:21:38+00:00</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-08-24T17:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=412fa8f1145545ad30922007c6cb607d7ddb1003'/>
<id>412fa8f1145545ad30922007c6cb607d7ddb1003</id>
<content type='text'>
Idea from:	jmg
Discussed on:	arch@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Idea from:	jmg
Discussed on:	arch@
</pre>
</div>
</content>
</entry>
</feed>
