Denys Vlasenko
3720a61daf
ifupdown: rewrite state file atomically
...
By user's request.
Decided to not use fcntl(F_SETLKW) in lieu of problems with locking
on networked filesystems. The existence of /var/run/ifstate.new
is treated as a write lock. rename() provides atomicity.
function old new delta
ifupdown_main 1019 1122 +103
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-10-09 23:04:16 +02:00
..
2016-09-18 22:55:47 +02:00
2014-02-23 23:31:13 +01:00
2016-08-21 03:39:39 +02:00
2016-10-04 00:56:58 +02:00
2016-07-04 17:38:01 +02:00
2016-07-06 21:58:02 +02:00
2015-10-14 13:21:01 +02:00
2016-09-28 18:44:48 +02:00
2015-03-12 17:48:34 +01:00
2013-10-14 19:04:20 +02:00
2016-07-06 21:58:02 +02:00
2016-04-21 18:18:48 +02:00
2013-12-17 19:13:45 +01:00
2012-09-03 12:20:10 +02:00
2009-11-13 09:37:50 +01:00
2013-01-14 01:34:48 +01:00
2016-04-21 18:38:51 +02:00
2013-08-15 09:54:51 +02:00
2015-10-08 11:24:44 +02:00
2016-08-16 20:39:52 +02:00
2016-10-09 23:04:16 +02:00
2016-07-06 21:58:02 +02:00
2016-03-29 19:27:00 +02:00
2015-10-14 12:53:47 +02:00
2015-08-15 21:15:27 +02:00
2016-04-21 18:38:51 +02:00
2015-10-13 14:50:20 +02:00
2014-01-09 20:09:43 +01:00
2015-10-07 01:39:40 +02:00
2015-03-12 17:48:34 +01:00
2015-10-13 17:17:34 +02:00
2016-07-06 21:58:02 +02:00
2016-04-21 18:38:51 +02:00
2015-05-25 13:46:36 +02:00
2013-06-27 01:09:51 +02:00
2016-08-01 20:25:06 +02:00
2016-03-04 07:36:04 +01:00
2016-07-06 21:58:02 +02:00
2013-11-29 16:45:45 +01:00
2016-07-19 17:48:55 +02:00
2016-04-21 18:18:48 +02:00
2016-04-21 18:18:48 +02:00
2010-08-16 20:14:46 +02:00
2010-08-16 20:14:46 +02:00
2016-10-07 15:56:47 +02:00
2016-04-21 18:18:48 +02:00
2016-07-06 21:58:02 +02:00
2016-04-22 18:09:21 +02:00
2016-04-21 18:18:48 +02:00
2016-09-28 18:44:48 +02:00
2016-03-30 16:20:28 +02:00
2012-01-16 04:00:37 +01:00
2016-10-04 04:23:09 +02:00
2016-07-06 21:58:02 +02:00
2016-04-21 18:18:48 +02:00