Systemd/src/network
Lennart Poettering fafff8f1ff user-util: rework get_user_creds()
Let's fold get_user_creds_clean() into get_user_creds(), and introduce a
flags argument for it to select "clean" behaviour. This flags parameter
also learns to other new flags:

- USER_CREDS_SYNTHESIZE_FALLBACK: in this mode the user records for
  root/nobody are only synthesized as fallback. Normally, the synthesized
  records take precedence over what is in the user database.  With this
  flag set this is reversed, and the user database takes precedence, and
  the synthesized records are only used if they are missing there. This
  flag should be set in cases where doing NSS is deemed safe, and where
  there's interest in knowing the correct shell, for example if the
  admin changed root's shell to zsh or suchlike.

- USER_CREDS_ALLOW_MISSING: if set, and a UID/GID is specified by
  numeric value, and there's no user/group record for it accept it
  anyway. This allows us to fix #9767

This then also ports all users to set the most appropriate flags.

Fixes: #9767

[zj: remove one isempty() call]
2018-08-20 15:58:21 +02:00
..
netdev user-util: rework get_user_creds() 2018-08-20 15:58:21 +02:00
wait-online tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
meson.build network: provide default networkd.conf 2018-06-26 03:34:49 +09:00
networkctl.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
networkd-address-label.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-address-label.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-address-pool.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
networkd-address-pool.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
networkd-address.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-address.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-brvlan.c tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02: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 tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
networkd-conf.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
networkd-dhcp4.c network: DHCP: ignore error in setting hostname when it is given by uname() 2018-08-06 10:48:02 +09:00
networkd-dhcp6.c network: DHCP: ignore error in setting hostname when it is given by uname() 2018-08-06 10:48:02 +09:00
networkd-fdb.c tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
networkd-fdb.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
networkd-gperf.gperf tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
networkd-ipv4ll.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-ipv6-proxy-ndp.c tree-wide: drop copyright lines for more authors 2018-06-22 16:39:45 +02:00
networkd-ipv6-proxy-ndp.h tree-wide: drop double newline 2018-06-29 11:02:17 +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: free routes assigned to link 2018-07-18 13:07:27 +09:00
networkd-link.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-lldp-tx.c tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
networkd-lldp-tx.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
networkd-manager-bus.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-manager.c network: make log level lower when operations are automatically re-tried later 2018-07-25 12:21:53 +02:00
networkd-manager.h network: move sd_event initialization to manager_new() 2018-07-18 12:37:50 +09:00
networkd-ndisc.c tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
networkd-ndisc.h tree-wide: drop double newline 2018-06-29 11:02:17 +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 resolve: rename PrivateDNS to DNSOverTLS 2018-06-14 09:57:56 +02:00
networkd-network.c network: use free_and_replace() 2018-08-06 10:46:05 +09:00
networkd-network.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-radv.c tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
networkd-radv.h tree-wide: beautify remaining copyright statements 2018-06-14 10:20:21 +02:00
networkd-route.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-route.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-routing-policy-rule.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-routing-policy-rule.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd-util.c tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
networkd-util.h tree-wide: drop double newline 2018-06-29 11:02:17 +09:00
networkd.c user-util: rework get_user_creds() 2018-08-20 15:58:21 +02: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 networkd: allow networkd to set the timezone in timedated 2016-11-23 16:32:06 +01:00
systemd-networkd.rules networkd: allow networkd to set the timezone in timedated 2016-11-23 16:32:06 +01:00
test-network-tables.c test-network-tables: add dhcp6_message_type to test 2018-07-24 12:59:52 +02:00
test-network.c network: move sd_event initialization to manager_new() 2018-07-18 12:37:50 +09:00
test-networkd-conf.c Drop my copyright headers 2018-06-14 13:03:20 +02:00
test-routing-policy-rule.c Drop my copyright headers 2018-06-14 13:03:20 +02:00