Systemd/src/network
Lennart Poettering 03e334a1c7 util: replace close_nointr_nofail() by a more useful safe_close()
safe_close() automatically becomes a NOP when a negative fd is passed,
and returns -1 unconditionally. This makes it easy to write lines like
this:

        fd = safe_close(fd);

Which will close an fd if it is open, and reset the fd variable
correctly.

By making use of this new scheme we can drop a > 200 lines of code that
was required to test for non-negative fds or to reset the closed fd
variable afterwards.
2014-03-18 19:31:34 +01:00
..
.gitignore networkd: netdev - allow filtering on kernel cmdline, host and virt 2014-02-20 22:12:25 +01:00
Makefile networkd: add a basic network daemon 2013-11-09 23:41:17 +01:00
network-util.h networkd-wait-online: use automatic cleanup 2014-03-01 23:16:55 +01:00
networkd-address.c networkd: allow more than one static DNS server 2014-03-14 12:44:17 +01:00
networkd-link.c Do not return -1 (EINVAL) on allocation error 2014-03-14 09:31:34 -04:00
networkd-manager.c networkd: fix typo 2014-03-14 18:51:41 +01:00
networkd-netdev-gperf.gperf networkd: add basic support for MACVLANs 2014-02-25 21:19:08 +01:00
networkd-netdev.c networkd: netdev - support joining already existing netdevs 2014-03-15 20:10:36 +01:00
networkd-network-gperf.gperf sd-network: IPv4 link-local support [v2] 2014-03-03 23:24:34 +01:00
networkd-network.c networkd: allow more than one static DNS server 2014-03-14 12:44:17 +01:00
networkd-route.c sd-network: IPv4 link-local support [v2] 2014-03-03 23:24:34 +01:00
networkd-wait-online.c networkd: wait-online - fix typo 2014-03-03 23:24:34 +01:00
networkd.c networkd: fix creation of runtime dirs at startup 2014-03-14 12:44:17 +01:00
networkd.h networkd: allow more than one static DNS server 2014-03-14 12:44:17 +01:00
sd-network.c util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
test-network.c networkd: handle SIGINT and SIGTERM 2014-02-22 21:24:36 +01:00