summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-etc-hosts.c
Commit message (Expand)AuthorAgeFilesLines
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-1/+1
* tree-wide: use in_addr_is_set() or friendsYu Watanabe2021-02-181-1/+1
* resolved: add RRSIG field to DnsAnswerItemLennart Poettering2021-02-091-2/+2
* resolved: beef up logic for suppressing "localhost" entry in /etc/hostsLennart Poettering2020-12-031-4/+91
* resolved: use stat_inode_unmodified() to detect /etc/hosts changesLennart Poettering2020-12-031-9/+5
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* resolved: use structured initialization everywhereLennart Poettering2020-10-281-2/+4
* resolved: fix memleak on duplicate host lines in /etc/hostsZbigniew Jędrzejewski-Szmek2020-06-241-2/+1
* tree-wide: use set_ensure_put()Zbigniew Jędrzejewski-Szmek2020-06-221-5/+1
* tree-wide: use "hostname" spelling everywhereZbigniew Jędrzejewski-Szmek2020-04-211-2/+2
* resolve: reload /etc/hosts on inode changeGiedrius Statkevičius2020-04-031-2/+7
* util-lib: move things that parse ifnames to shared/Zbigniew Jędrzejewski-Szmek2020-01-111-0/+1
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+4
* Remove 'inline' attributes from static functions in .c files (#11426)Topi Miettinen2019-01-151-2/+2
* resolve: reject host names with leading or trailing dashes in /etc/hostsZbigniew Jędrzejewski-Szmek2018-12-101-1/+1
* resolved: rework parsing of /etc/hostsZbigniew Jędrzejewski-Szmek2018-12-101-19/+22
* coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek2018-11-221-8/+8
* Move LONG_LINE_MAX definition to fileio.hZbigniew Jędrzejewski-Szmek2018-11-141-1/+0
* resolved-etc-hosts: FOREACH_LINE excorcismLennart Poettering2018-10-181-3/+10
* resolved: change error handling for manager_etc_hosts_read()Zbigniew Jędrzejewski-Szmek2018-08-011-7/+3
* resolved: keep addresses mapped to ::0 in a separate setZbigniew Jędrzejewski-Szmek2018-08-011-21/+35
* test-resolved-etc-hosts: add tests for /etc/hosts parsingZbigniew Jędrzejewski-Szmek2018-08-011-16/+3
* resolved: put /etc/hosts hashmaps in a structure and pass that aroundZbigniew Jędrzejewski-Szmek2018-08-011-56/+64
* resolve: support address with ifname in /etc/hostsYu Watanabe2018-07-311-1/+1
* resolve: use in_addr_data type for storing addressYu Watanabe2018-07-311-145/+70
* resolve: add option to toggle reading /etc/hostsYu Watanabe2018-07-281-0/+3
* resolve: make manager_etc_hosts_read() staticYu Watanabe2018-07-281-1/+1
* resolve: use structured initialization and use new() instead of new0()Yu Watanabe2018-07-261-4/+6
* resolve: fix memleakYu Watanabe2018-07-261-1/+3
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* resolved: correctly handle non-address RR types with /etc/hosts lookups (#4808)Martin Pitt2016-12-221-3/+3
* tree-wide: make ++/-- usage consistent WRT spacingVito Caputo2016-02-221-1/+1
* Replace DNS_RESOURCE_KEY_NAME with a version which always returns "." for rootZbigniew Jędrzejewski-Szmek2016-02-161-2/+2
* resolve: fix compare function for EtcHostItemThomas Hindoe Paaboel Andersen2016-01-261-1/+1
* resolved: synthesize RRs for data from /etc/hostsLennart Poettering2016-01-251-0/+448