Systemd/src/network
Yu Watanabe fcbf4cb727 network: drop sections contain invalid settings in network_verify()
If e.g., an [Address] section has an invalid setting, then
previously assigned settings in the section is freed, and
only later settings are stored. That may cause partially broken
section stored in Network object.

This makes if an invalid setting is found, then set 'invalid' flag
instead of freeing it. And invalid sections are dropped later by
network_verify().
2019-03-13 11:59:18 +09:00
..
netdev network: make resolving NetDev names delayed and moved to network_verify() 2019-02-26 10:06:23 +09:00
wait-online wait-online: do not fail if we receive invalid messages 2019-01-21 15:54:50 +01:00
fuzz-netdev-parser.c fuzz: use fflush() and drop unnecessary rewind() 2019-02-25 12:35:51 +09:00
fuzz-network-parser.c fuzz: use fflush() and drop unnecessary rewind() 2019-02-25 12:35:51 +09:00
meson.build networkd: Static neighbor support 2018-12-09 16:56:37 -08:00
networkctl.c networkctl: make enslaved operstate green 2019-02-18 18:04:18 +09:00
networkd-address-label.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-address-label.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-address-pool.c network: generate random prefix from address pool 2019-03-01 16:34:44 +09:00
networkd-address-pool.h network: make address_pool_new() static 2019-03-01 15:52:12 +09:00
networkd-address.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-address.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-brvlan.c networkd-brvlan.c: fix build without BRIDGE_VLAN_INFO_RANGE_END 2019-02-03 17:34:53 +01:00
networkd-brvlan.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
networkd-conf.c network: accept additional time-value after ':' when DUIDType=link-layer-time 2018-08-08 10:15:00 +09:00
networkd-conf.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
networkd-dhcp4.c network: bump mtu if stacked vlan or macvlan requests larger size 2019-02-27 10:04:56 +09:00
networkd-dhcp6.c network: add missing error check 2019-02-16 06:34:22 +09:00
networkd-fdb.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-fdb.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-gperf.gperf network: accept additional time-value after ':' when DUIDType=link-layer-time 2018-08-08 10:15:00 +09:00
networkd-ipv4ll.c network: configure ipv4ll route after address is set 2019-02-15 11:45:44 +09:00
networkd-ipv6-proxy-ndp.c network: make all xxx_new_static() static 2019-03-13 11:59:18 +09:00
networkd-ipv6-proxy-ndp.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-link-bus.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-link.c network: introduce TripleSampling= option in CAN section 2019-03-11 17:15:47 +01:00
networkd-link.h network: bump mtu if stacked vlan or macvlan requests larger size 2019-02-27 10:04:56 +09:00
networkd-lldp-tx.c util: drop missing.h from socket-util.h 2018-12-06 13:31:16 +01:00
networkd-lldp-tx.h tree-wide: use CONFIG_PARSER_PROTOTYPE() macro 2018-11-12 16:45:04 +09:00
networkd-manager-bus.c network: replace udev_device by sd_device 2018-08-23 04:57:39 +09:00
networkd-manager.c network: use device_get_action() 2019-03-12 03:49:53 +09:00
networkd-manager.h network: check whether ipv6 is enabled in sysctl 2019-02-21 10:55:13 +09:00
networkd-ndisc.c network: merge conditions and use FLAGS_SET() macro 2019-02-27 16:48:19 +09:00
networkd-ndisc.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-neighbor.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-neighbor.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-network-bus.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-network-gperf.gperf network: use ltype to determine netdev kind in config_parse_stacked_netdev() 2019-03-13 11:59:18 +09:00
networkd-network.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-network.h network: move NetworkConfigSection and related functions to networkd-util.[ch] 2019-03-13 11:59:18 +09:00
networkd-radv.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-radv.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-route.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-route.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-routing-policy-rule.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-routing-policy-rule.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd-util.c network: move NetworkConfigSection and related functions to networkd-util.[ch] 2019-03-13 11:59:18 +09:00
networkd-util.h network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
networkd.c network: define main through macro 2018-12-08 18:09:40 +09:00
networkd.conf network: provide default networkd.conf 2018-06-26 03:34:49 +09:00
org.freedesktop.network1.conf networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
org.freedesktop.network1.service Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
systemd-networkd.pkla network: request product UUID when DUIDType=uuid but DUIDRawData= is not set 2018-08-08 10:15:00 +09:00
systemd-networkd.rules network: request product UUID when DUIDType=uuid but DUIDRawData= is not set 2018-08-08 10:15:00 +09:00
test-network-tables.c test: add tests for string tables for lldp and ndisc events 2018-11-06 20:15:09 +09:00
test-network.c tests: use a helper function to parse environment and open logging 2018-09-14 09:29:57 +02:00
test-networkd-conf.c network: drop sections contain invalid settings in network_verify() 2019-03-13 11:59:18 +09:00
test-routing-policy-rule.c tree-wide: Remove O_CLOEXEC from fdopen 2018-12-12 20:47:40 +01:00