1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00
Volker Lendecke cf43f331be lib: Make pidfile_path_create() return the existing PID on conflict
Use F_GETLK to get the lock holder PID, this is more accurate than
reading the file contents: A conflicting process might not have
written its PID yet. Also, F_GETLK easily allows to do a retry if the
lock holder just died.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-03-16 17:09:32 +00:00
..
2019-02-13 04:15:14 +01:00
2018-07-28 03:50:11 +02:00
2018-07-28 03:50:11 +02:00
2018-05-12 12:06:28 +02:00
2019-10-31 00:43:38 +00:00