summaryrefslogtreecommitdiffstats
path: root/src/basic/hostname-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* string-util: add new strdupcspn()/strdupspn()Lennart Poettering2023-01-201-1/+1
* tree-wide: add global ascii_isdigit() + ascii_isalpha()Lennart Poettering2022-07-051-4/+2
* hostname-util: normalize get_pretty_hostname() call semanticsLennart Poettering2022-03-111-0/+18
* hostname-util: drop GET_HOSTNAME_ALLOW_NONE flag and always refuse "(none)"Yu Watanabe2021-12-301-2/+1
* hostname: introduce gethostname_full() and use it in various gethostname() va...Yu Watanabe2021-08-121-47/+20
* Use the DEFAULT_HOSTNAME field from os-releaseZbigniew Jędrzejewski-Szmek2021-02-221-0/+12
* Allow the fallback hostname to be overriden using an environment variableZbigniew Jędrzejewski-Szmek2021-02-221-2/+19
* Move hostname setup logic to new shared/hostname-setup.[ch]Zbigniew Jędrzejewski-Szmek2020-12-161-120/+0
* hostname-util: flagsify hostname_is_valid(), drop machine_name_is_valid()Lennart Poettering2020-12-151-22/+17
* hostname-util: explain what 'LDH' isLennart Poettering2020-12-151-0/+2
* Drop compat "gateway" nameZbigniew Jędrzejewski-Szmek2020-12-101-14/+0
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Add %l as specifier for the hostname without any domain componentZbigniew Jędrzejewski-Szmek2020-05-071-3/+22
* basic: add STRCASE_IN_SET() which is to STR_IN_SET() what strcaseeq() is to s...Lennart Poettering2020-05-041-8/+11
* tree-wide: use "hostname" spelling everywhereZbigniew Jędrzejewski-Szmek2020-04-211-2/+2
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0
* basic/hostname-util: do truncation last when cleaning upZbigniew Jędrzejewski-Szmek2018-12-101-3/+1
* Partially unify hostname_is_valid() and dns_name_is_valid()Zbigniew Jędrzejewski-Szmek2018-12-101-16/+38
* Move LONG_LINE_MAX definition to fileio.hZbigniew Jędrzejewski-Szmek2018-11-141-1/+0
* 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
* networkd/dhcp: shorten overlong hostname (#7616)Luca Bruno2017-12-131-0/+32
* hostname-util: rework read_hostname_config() a bitLennart Poettering2017-11-201-23/+45
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* tree-wide: use IN_SET macro (#6977)Yu Watanabe2017-10-041-4/+2
* resolved,nss-myhostname: use _gateway for the gatewayZbigniew Jędrzejewski-Szmek2017-07-311-2/+5
* hostname-util: default to the compile time default hostname in gethostname_ma...Lennart Poettering2017-02-171-1/+1
* hostnamectl: rework pretty hostname validation (#3985)Lennart Poettering2016-08-191-1/+0
* Merge pull request #2959 from keszybz/stop-resolving-localdomainZbigniew Jędrzejewski-Szmek2016-04-051-5/+5
|\
| * *.localdomain != localhostDavid R. Hedges2016-04-041-5/+5
* | shorten hostname before checking for trailing dotThomas Blume2016-02-291-2/+2
* | Merge pull request #2717 from keszybz/networkctl-prettificationLennart Poettering2016-02-231-2/+3
|\ \
| * | Fix two typosZbigniew Jędrzejewski-Szmek2016-02-231-2/+3
* | | tree-wide: make ++/-- usage consistent WRT spacingVito Caputo2016-02-231-1/+1
|/ /
* | networkd: add basic LLDP transmission supportLennart Poettering2016-02-211-0/+28
* | Remove/add (un)needed includesNathan McSween2016-02-191-1/+0
|/
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* basic: include only what we useThomas Hindoe Paaboel Andersen2015-11-301-2/+7
* hostname-util: fix code commentBeniamino Galvani2015-11-171-1/+1
* util-lib: move more file I/O related calls into fileio.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering2015-10-251-1/+2
* util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering2015-10-241-1/+2
* util: make hostname_is_valid() easier to readLennart Poettering2015-08-241-7/+12
* hostname-util: introduce new is_gateway_hostname() callLennart Poettering2015-08-211-0/+11
* hostname-util: ignore case when checking if hostname is localhostZbigniew Jędrzejewski-Szmek2015-08-061-8/+8
* hostname-util: get rid of unused parameter of hostname_cleanup()Zbigniew Jędrzejewski-Szmek2015-08-061-3/+3
* hostname-util: add relax parameter to hostname_is_validZbigniew Jędrzejewski-Szmek2015-08-061-3/+12
* build-sys: split internal basic/ library from shared/Kay Sievers2015-06-111-0/+193