1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
NIIBE Yutaka d9a8d3353a common,unix: Backport dotlock changes from GnuPG 2.3.
* common/dotlock.c (read_lockfile): Return FD in R_FD.
(dotlock_take_unix): Fix a race condition by new read_lockfile and
checking with fstat.  Describe one race condition in comment.
(dotlock_release_unix): Follow the change of read_lockfile.

--

GnuPG-bug-id: 5884
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2022-03-29 11:24:23 +09:00
..
2015-10-28 10:20:17 +01:00
2021-10-06 11:06:01 +02:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2021-08-27 17:22:25 +09:00
2019-04-16 13:27:44 +09:00
2021-05-20 14:52:08 +02:00
2016-03-02 14:27:30 +01:00
2017-02-21 13:11:46 -05:00
2020-11-09 11:53:33 +01:00
2021-04-29 12:25:46 +02:00
2021-04-29 10:38:29 +02:00
2021-12-29 09:21:00 +01:00
2022-02-07 18:22:30 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.