Systemd/src/network/netdev
Lennart Poettering 4f9ff96a55 conf-parser: return mtime in config_parse() and friends
This is a follow-up for 9f83091e3c.

Instead of reading the mtime off the configuration files after reading,
let's do so before reading, but with the fd we read the data from. This
is not only cleaner (as it allows us to save one stat()), but also has
the benefit that we'll detect changes that happen while we read the
files.

This also reworks unit file drop-ins to use the common code for
determining drop-in mtime, instead of reading system clock for that.
2020-06-02 19:32:20 +02:00
..
bond.c network: Introduce bond util 2020-05-17 10:02:03 +02:00
bond.h network: Introduce bond util 2020-05-17 10:02:03 +02:00
bridge.c network: allow setting VLAN protocol on bridges 2020-05-14 17:59:57 +02:00
bridge.h network: allow setting VLAN protocol on bridges 2020-05-14 17:59:57 +02:00
dummy.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
dummy.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
fou-tunnel.c network: use "FooOverUDP" as one word 2020-04-16 17:23:41 +02:00
fou-tunnel.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
geneve.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
geneve.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
ifb.c network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
ifb.h network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
ipvlan.c network: Introduce ipvlan util 2020-05-17 05:34:19 +02:00
ipvlan.h network: Introduce ipvlan util 2020-05-17 05:34:19 +02:00
l2tp-tunnel.c network: L2TP fix crash 2020-05-30 11:59:27 +02:00
l2tp-tunnel.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
macsec.c network: fix double free in macsec_receive_channel_free() 2020-06-01 09:39:46 +02:00
macsec.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
macvlan.c network: Introduce macvlan util 2020-05-14 17:35:56 +02:00
macvlan.h network: Introduce macvlan util 2020-05-14 17:35:56 +02:00
netdev-gperf.gperf network: allow setting VLAN protocol on bridges 2020-05-14 17:59:57 +02:00
netdev.c conf-parser: return mtime in config_parse() and friends 2020-06-02 19:32:20 +02:00
netdev.h network: introduce ifb (Intermediate Functional Block) 2019-12-07 15:29:50 +01:00
netdevsim.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
netdevsim.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
nlmon.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
nlmon.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
tunnel.c network: fix implicit type conversion warning by GCC-10 2020-01-29 19:24:12 +01:00
tunnel.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
tuntap.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
tuntap.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vcan.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
vcan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
veth.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
veth.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vlan.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
vlan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vrf.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
vrf.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vxcan.c network: append INTERFACE= attributes for logs corresponds to a netif 2020-01-07 22:20:43 +09:00
vxcan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
vxlan.c network: clean up doubled white space 2020-05-29 14:49:18 +02:00
vxlan.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00
wireguard.c network: wireguard: set ListenPort= when no peers are configured 2020-06-01 14:22:08 +09:00
wireguard.h network: include glibc headers before including kernel headers 2019-05-09 03:21:31 +02:00
xfrm.c network: warn about unknown sections when parsing .netdev files 2019-11-25 16:45:29 +01:00
xfrm.h network: cleanup header inclusion 2019-10-30 22:23:43 +09:00