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
..
2021-01-12 01:19:26 +00:00
2021-03-10 08:06:25 +00:00
2020-08-03 22:21:02 +00:00
2016-11-16 12:41:09 +01:00
2020-09-11 05:05:59 +00:00
2020-05-04 04:40:10 +00:00
2020-05-24 23:55:36 +00:00
2016-05-04 01:28:23 +02:00
2016-05-04 01:28:23 +02:00
2021-03-01 03:50:35 +00:00
2021-03-01 03:50:35 +00:00
2017-09-22 21:20:23 +02:00
2018-11-22 22:13:27 +01:00
2012-11-07 15:32:24 +01:00
2021-01-26 00:10:31 +00:00
2016-06-08 10:33:19 +02:00
2020-02-21 03:35:58 +00:00
2020-02-21 02:09:33 +00:00
2014-10-04 00:11:21 +02:00
2015-03-03 17:34:39 +01:00
2014-08-01 22:11:46 +02:00
2018-12-20 16:11:02 +01:00
2016-02-23 22:03:16 +01:00
2019-11-27 10:25:35 +00:00
2011-06-02 10:10:39 -07:00
2020-12-07 17:54:10 +00:00
2019-05-28 07:16:25 +00:00
2019-02-14 15:59:26 +01:00
2019-06-11 12:10:17 +00:00
2016-08-24 01:33:50 +02:00
2021-01-12 00:10:30 +00:00
2020-02-27 05:09:44 +00:00
2012-04-05 02:39:08 +02:00
2020-11-10 19:49:33 +00:00
2019-08-14 15:07:24 +00:00
2019-08-14 15:07:24 +00:00
2013-04-05 07:34:37 +02:00
2020-02-03 20:27:37 +00:00
2020-02-03 20:27:37 +00:00
2014-09-19 18:11:11 +02:00
2014-09-19 18:11:11 +02:00
2018-11-22 22:13:27 +01:00
2019-08-19 23:14:38 +00:00
2019-07-08 09:30:09 +00:00
2017-04-18 22:54:15 +02:00
2021-02-03 10:57:01 +00:00
2018-05-25 22:52:12 +02:00
2019-04-30 23:18:26 +00:00
2018-05-17 17:30:09 +02:00
2017-11-20 21:41:14 +01:00
2017-06-24 01:21:10 +02:00
2019-06-11 12:10:17 +00:00
2019-07-01 08:00:29 +00:00
2016-06-07 14:34:10 +02:00
2017-01-06 12:28:19 +01:00
2021-03-16 17:09:32 +00:00
2021-03-16 17:09:32 +00:00
2019-06-11 12:10:17 +00:00
2021-01-08 20:31:33 +00:00
2020-08-28 02:18:40 +00:00
2017-06-06 18:36:07 +02:00
2021-03-11 21:42:43 +00:00
2013-08-22 20:48:44 +02:00
2017-03-20 12:20:08 +01:00
2012-02-16 15:49:21 -08:00
2019-07-03 10:51:32 +00:00
2015-07-07 23:51:23 +02:00
2019-09-17 22:49:36 +00:00
2019-09-17 22:49:36 +00:00
2018-11-22 22:13:27 +01:00
2012-06-28 17:15:16 -07:00
2014-10-04 00:11:21 +02:00
2014-10-04 00:11:21 +02:00
2020-08-05 10:17:06 +00:00
2020-08-05 10:17:06 +00:00
2018-07-04 21:07:09 +02:00
2020-08-28 00:56:34 +00:00
2018-11-30 08:12:31 +01:00
2016-03-01 05:43:19 +01:00
2017-11-29 16:59:16 +01:00
2017-11-29 16:59:16 +01:00
2021-03-11 21:42:43 +00:00
2021-03-10 08:06:25 +00:00
2019-05-28 20:27:14 +00:00
2019-05-24 19:00:06 +00:00
2019-07-01 08:00:29 +00:00
2015-10-13 01:23:07 +02:00
2020-05-12 19:53:43 +00:00
2020-05-12 19:53:43 +00:00
2012-03-24 21:55:40 +01:00
2019-04-03 06:48:21 +00:00
2019-04-03 06:48:21 +00:00
2019-09-18 20:10:24 +00:00
2019-09-18 20:10:24 +00:00
2019-07-01 08:00:29 +00:00
2015-02-13 23:32:07 +01:00
2018-06-23 04:56:44 +02:00
2016-02-12 09:01:14 +01:00
2015-07-01 23:04:00 +02:00
2013-08-12 13:59:53 -07:00
2012-05-14 15:12:34 +02:00
2018-10-08 22:17:11 +02:00
2018-10-08 22:17:11 +02:00
2015-07-07 23:51:23 +02:00
2015-07-07 23:51:23 +02:00
2016-09-28 00:04:18 +02:00
2012-05-30 00:37:56 +02:00
2020-02-27 03:42:35 +00:00
2019-10-02 08:01:40 +00:00
2019-10-02 08:01:40 +00:00
2019-01-28 15:44:18 +01:00
2016-01-13 04:43:23 +01:00
2016-01-13 04:43:23 +01:00
2020-08-15 08:51:09 +00:00
2020-08-15 08:51:09 +00:00
2017-01-06 12:28:19 +01:00
2017-01-06 12:28:19 +01:00
2019-08-14 07:39:38 +00:00
2019-08-07 06:07:28 +00:00
2016-11-16 12:41:09 +01:00
2016-11-16 12:41:09 +01:00
2014-04-17 14:56:06 +02:00
2020-11-13 16:22:32 +00:00
2014-12-07 00:12:07 +01:00
2011-02-10 06:51:07 +01:00
2011-06-10 15:11:26 +02:00
2021-03-09 22:36:28 +00:00
2021-01-11 13:19:32 +00:00
2020-07-14 07:42:54 +00:00
2020-05-15 13:18:38 +00:00
2020-02-27 03:42:35 +00:00
2020-02-27 03:42:35 +00:00
2017-03-28 17:45:19 +02:00
2012-03-24 15:26:36 +01:00
2021-01-25 09:48:09 +00:00
2021-01-12 00:10:30 +00:00
2017-03-29 02:37:26 +02:00
2017-03-29 02:37:26 +02:00
2021-01-28 16:58:35 +00:00
2021-01-28 16:58:35 +00:00
2021-01-12 00:10:30 +00:00
2016-02-11 19:19:55 +01:00
2019-07-01 06:44:13 +00:00
2016-02-05 09:00:20 +01:00
2019-06-26 10:30:23 +00:00
2017-11-13 23:54:46 +01:00
2021-03-11 21:42:43 +00:00
2020-08-03 22:21:02 +00:00
2019-01-18 17:21:02 +01:00
2021-02-03 09:53:32 +00:00
2020-01-28 18:05:34 +00:00