summaryrefslogtreecommitdiff
path: root/src/nss-myhostname/nss-myhostname.c
Commit message (Expand)AuthorAgeFilesLines
* nss-myhostname: do not return empty result with NSS_STATUS_SUCCESSYu Watanabe2023-02-091-2/+3
* nss-myhostname: fix inverted condition inYu Watanabe2023-02-091-1/+1
* resolved: introduce common macro for 127.0.0.2 IP addressLennart Poettering2022-11-251-1/+2
* nss-myhostname: do not return IPv6 local address if IPv6 is disabledYu Watanabe2022-04-231-30/+36
* nss-myhostname: do not apply non-zero offset to null pointerYu Watanabe2021-12-311-3/+3
* nss-myhostname: expose the "outbound" IP addresses under the synthetic "_outb...Lennart Poettering2021-04-231-2/+17
* tree-wide: use in_addr_is_set() or friendsYu Watanabe2021-02-181-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* tree-wide: use "hostname" spelling everywhereZbigniew Jędrzejewski-Szmek2020-04-211-1/+1
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* nss-myhostname: unify code that handles NOT_FOUND caseLennart Poettering2019-04-111-16/+16
* util: split out errno related stuffLennart Poettering2019-03-141-1/+1
* nss: unportect errno before writing to NSS' *errnopLennart Poettering2019-02-081-0/+13
* Revert "nss: prevent PROTECT_ERRNO from squashing changes to *errnop"Zbigniew Jędrzejewski-Szmek2019-01-101-12/+11
* nss: prevent PROTECT_ERRNO from squashing changes to *errnopSam Morris2019-01-101-11/+12
* nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESSYu Watanabe2018-07-251-9/+7
* 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
* tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold2017-10-021-1/+1
* Merge pull request #6420 from keszybz/gateway-nameLennart Poettering2017-08-011-3/+3
|\
| * resolved,nss-myhostname: use _gateway for the gatewayZbigniew Jędrzejewski-Szmek2017-07-311-3/+3
* | string-util: add strlen_ptr() helperLennart Poettering2017-07-311-1/+1
|/
* nss: fix error to ERANGE for nss calls with too little buffer space (#5365)Lennart Poettering2017-02-161-4/+4
* nss-myhostname: don't fill scopeid for non-link-local addressesLennart Poettering2017-02-091-7/+4
* treewide: fix typos and remove accidental repetition of wordsTorstein Husebø2016-07-111-1/+1
* tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering2016-06-151-5/+5
* nss-myhostname: remove dead test of variable that was not setZbigniew Jędrzejewski-Szmek2016-04-051-3/+2
* nss-myhostname: trivial style fixesZbigniew Jędrzejewski-Szmek2016-04-021-17/+13
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* nss: block various signals while running NSS lookupsLennart Poettering2016-01-271-0/+7
* util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering2015-10-241-4/+5
* hostname-util: introduce new is_gateway_hostname() callLennart Poettering2015-08-211-9/+2
* nss-myhostname: use LOOPBACK_IFINDEX instead of if_nametoindex("lo")Lennart Poettering2015-08-141-2/+1
* tree-wide: introduce mfree()David Herrmann2015-07-311-2/+1
* util: split all hostname related calls into hostname-util.cLennart Poettering2015-05-181-0/+1
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-231-4/+0
* nss-myhostname: always will in canonical hostname field when resolving addres...Lennart Poettering2015-01-051-17/+19
* nss-myhostname: introduce is_gateway() similar to the existing is_hostname()Lennart Poettering2014-12-191-2/+9
* nss-myhostname: also recognize "gateway."Harald Hoyer2014-12-161-2/+2
* rtnl: when querying local addresses and gateways, take address family into ac...Lennart Poettering2014-12-041-6/+6
* nss-myhostname: always resolve the host name "gateway" to the local default g...Lennart Poettering2014-12-031-19/+59
* networkd: add minimal client tool "networkd" to query network statusLennart Poettering2014-08-121-3/+3
* nss: always explicitly reset all error variablesLennart Poettering2014-08-011-0/+10
* nss-myhostname: don't include assert.h twiceLennart Poettering2014-07-231-5/+0
* shared: rename PROTO_ADDRESS_SIZE() to FAMILY_ADDRESS_SIZE()Lennart Poettering2014-07-181-3/+3
* nss: various minor fixes to nss-myhostname + nss-mymachinesLennart Poettering2014-07-161-5/+8
* nss-myhostname: simplify array building a bitLennart Poettering2014-07-111-15/+8