summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-etc-hosts.c
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: add some assertsDavid Tardon2023-04-141-0/+2
* tree-wide: use TAKE_STRUCTDavid Tardon2023-04-141-2/+1
* resolve: fix NULL-pointer dereferenceYu Watanabe2022-12-141-1/+1
* resolve: dedup entries in /etc/hostsYu Watanabe2022-12-131-26/+43
* resolve: introduce more hash-ops and use themYu Watanabe2022-12-131-4/+20
* resolve: use dns_name_hash_ops_freeYu Watanabe2022-12-131-2/+2
* resolve: split manager_etc_hosts_lookup() into small partsYu Watanabe2022-12-131-61/+90
* resolve: adjust warningYu Watanabe2022-12-131-4/+4
* resolve: merge two boolean variablesYu Watanabe2022-12-131-10/+5
* resolve: introduce cleanup functions for EtcHostsItemBy{Address,Name}Yu Watanabe2022-12-131-20/+22
* resolve: make etc_hosts_item_by_{address,name}_free() accept NULLYu Watanabe2022-12-131-11/+12
* resolve: rename EtcHostsItem -> EtcHostsItemByAddressYu Watanabe2022-12-131-8/+8
* resolve: rename etc_hosts_free() -> etc_hosts_clear()Yu Watanabe2022-12-131-4/+6
* resolved: use strv_extend_with_size() to avoid slow parsing of /etc/hostsZbigniew Jędrzejewski-Szmek2022-05-201-2/+2
* time-util: assume CLOCK_BOOTTIME always existsLennart Poettering2022-03-281-1/+1
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-3/+0
* resolve: fix assertion triggered when r == 0Yu Watanabe2022-01-201-1/+4
* 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