busybox/networking
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-07-04 17:38:01 +02:00
2013-01-14 01:34:48 +01:00
2015-10-14 12:53:47 +02:00
2015-08-15 21:15:27 +02:00
2014-01-09 20:09:43 +01:00
2015-10-13 17:17:34 +02:00
2015-05-25 13:46:36 +02:00
2016-03-04 07:36:04 +01:00
2016-07-19 17:48:55 +02:00