aboutsummaryrefslogtreecommitdiff
path: root/include/applet_metadata.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-10-09 23:04:16 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-10-09 23:04:16 +0200
commit3720a61daf2e03e42e34902c2636ce3e3d6b8485 (patch)
tree6208f33c94578dbfaf39b5b108f7745190bb2c3b /include/applet_metadata.h
parentec1ea16337623824e3e71bb5dc0e011259664d7e (diff)
downloadbusybox-3720a61daf2e03e42e34902c2636ce3e3d6b8485.tar.gz
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>
Diffstat (limited to 'include/applet_metadata.h')
0 files changed, 0 insertions, 0 deletions