| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
latter is implemented.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Useful tips from: ru, bde
Approved by: pjd
MFC after: 3 days
|
|
|
|
|
|
|
| |
pidfile_close() functions is safe. This possibility is used in example code.
- Cast pid_t to int.
Requested by: yar
|
| |
|
|
|
|
|
|
|
| |
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
|
|
Idea from: jmg
Discussed on: arch@
|