<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libutil/pidfile.3, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-06-06T17:34:49Z</updated>
<entry>
<title>Add missing .Pp</title>
<updated>2009-06-06T17:34:49Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2009-06-06T17:34:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a27c52a943d6e236977c19df7e1f86f1b667b523'/>
<id>urn:sha1:a27c52a943d6e236977c19df7e1f86f1b667b523</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pidfile(3) uses flopen(3) - don't make any assumptions about how the</title>
<updated>2008-10-20T18:00:11Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-20T18:00:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cb7cd07a0756ad4913c256d831461658e02e1249'/>
<id>urn:sha1:cb7cd07a0756ad4913c256d831461658e02e1249</id>
<content type='text'>
latter is implemented.
</content>
</entry>
<entry>
<title>Minor mdoc cleanup: Every sentence should start on its own line.</title>
<updated>2007-10-13T11:09:45Z</updated>
<author>
<name>Simon L. B. Nielsen</name>
<email>simon@FreeBSD.org</email>
</author>
<published>2007-10-13T11:09:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3dca093960479618c24f8b6470402fd6f216803f'/>
<id>urn:sha1:3dca093960479618c24f8b6470402fd6f216803f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When pidfile is already locked and has zero length, do not return</title>
<updated>2007-10-12T10:38:05Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-10-12T10:38:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fefc6803cf08cdda7416d62e41b54d59dabfdad5'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Use `intmax_t' instead of plain `int' for pid_t casts.</title>
<updated>2006-03-04T15:20:28Z</updated>
<author>
<name>Giorgos Keramidas</name>
<email>keramida@FreeBSD.org</email>
</author>
<published>2006-03-04T15:20:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef608a60087fcf462e85395fa22860a298cbecfc'/>
<id>urn:sha1:ef608a60087fcf462e85395fa22860a298cbecfc</id>
<content type='text'>
Useful tips from:	ru, bde
Approved by:		pjd
MFC after:		3 days
</content>
</entry>
<entry>
<title>- Add a note that passing NULL to pidfile_write(), pidfile_remove() and</title>
<updated>2006-01-28T14:13:15Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2006-01-28T14:13:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=560c4fc142b33d9cf6f202ed76886350444b1992'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Fix markup, grammar and spelling.</title>
<updated>2005-11-18T14:21:28Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-18T14:21:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6b84cd5819ed47f48f9b7ee5530a91b2f067ae34'/>
<id>urn:sha1:6b84cd5819ed47f48f9b7ee5530a91b2f067ae34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Pidfiles should be created with permission preventing users from opening</title>
<updated>2005-09-16T11:24:28Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-09-16T11:24:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b28aef23886c140d14d326e9f1df96f7986cd29'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Add a family of functions for reliable pidfiles handling.</title>
<updated>2005-08-24T17:21:38Z</updated>
<author>
<name>Pawel Jakub Dawidek</name>
<email>pjd@FreeBSD.org</email>
</author>
<published>2005-08-24T17:21:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=412fa8f1145545ad30922007c6cb607d7ddb1003'/>
<id>urn:sha1:412fa8f1145545ad30922007c6cb607d7ddb1003</id>
<content type='text'>
Idea from:	jmg
Discussed on:	arch@
</content>
</entry>
</feed>
