summaryrefslogtreecommitdiff
path: root/src/nss-myhostname
AgeCommit message (Expand)AuthorFilesLines
2019-11-04tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe1-1/+0
2019-04-11nss-myhostname: unify code that handles NOT_FOUND caseLennart Poettering1-16/+16
2019-03-14util: split out errno related stuffLennart Poettering1-1/+1
2019-02-08nss: unportect errno before writing to NSS' *errnopLennart Poettering1-0/+13
2019-01-10Revert "nss: prevent PROTECT_ERRNO from squashing changes to *errnop"Zbigniew Jędrzejewski-Szmek1-12/+11
2019-01-10nss: prevent PROTECT_ERRNO from squashing changes to *errnopSam Morris1-11/+12
2018-07-25nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESSYu Watanabe1-9/+7
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-3/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2-4/+0
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2017-11-19Add SPDX license headers to various assorted filesZbigniew Jędrzejewski-Szmek1-0/+2
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-10-02tree-wide: use `!IN_SET(..)` for `a != b && a != c && …`Andreas Rammhold1-1/+1
2017-08-01Merge pull request #6420 from keszybz/gateway-nameLennart Poettering1-3/+3
2017-07-31resolved,nss-myhostname: use _gateway for the gatewayZbigniew Jędrzejewski-Szmek1-3/+3
2017-07-31string-util: add strlen_ptr() helperLennart Poettering1-1/+1
2017-07-18build-sys: drop automake supportZbigniew Jędrzejewski-Szmek1-1/+0
2017-02-16nss: fix error to ERANGE for nss calls with too little buffer space (#5365)Lennart Poettering1-4/+4
2017-02-09nss-myhostname: don't fill scopeid for non-link-local addressesLennart Poettering1-7/+4
2016-07-11treewide: fix typos and remove accidental repetition of wordsTorstein Husebø1-1/+1
2016-06-15tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering1-5/+5
2016-04-05nss-myhostname: remove dead test of variable that was not setZbigniew Jędrzejewski-Szmek1-3/+2
2016-04-02nss-myhostname: trivial style fixesZbigniew Jędrzejewski-Szmek1-17/+13
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2016-01-27nss: block various signals while running NSS lookupsLennart Poettering1-0/+7
2015-10-27util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering1-0/+1
2015-10-24util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering1-4/+5
2015-08-21hostname-util: introduce new is_gateway_hostname() callLennart Poettering1-9/+2
2015-08-14nss-myhostname: use LOOPBACK_IFINDEX instead of if_nametoindex("lo")Lennart Poettering1-2/+1
2015-07-31tree-wide: introduce mfree()David Herrmann1-2/+1
2015-05-18util: split all hostname related calls into hostname-util.cLennart Poettering1-0/+1
2015-02-23remove unused includesThomas Hindoe Paaboel Andersen1-4/+0
2015-01-05nss-myhostname: always will in canonical hostname field when resolving addres...Lennart Poettering1-17/+19
2014-12-19nss-myhostname: introduce is_gateway() similar to the existing is_hostname()Lennart Poettering1-2/+9
2014-12-16nss-myhostname: also recognize "gateway."Harald Hoyer1-2/+2
2014-12-04rtnl: when querying local addresses and gateways, take address family into ac...Lennart Poettering1-6/+6
2014-12-03nss-myhostname: always resolve the host name "gateway" to the local default g...Lennart Poettering1-19/+59
2014-08-12networkd: add minimal client tool "networkd" to query network statusLennart Poettering1-3/+3
2014-08-01nss: always explicitly reset all error variablesLennart Poettering1-0/+10
2014-07-23nss-myhostname: don't include assert.h twiceLennart Poettering1-5/+0
2014-07-18shared: rename PROTO_ADDRESS_SIZE() to FAMILY_ADDRESS_SIZE()Lennart Poettering1-3/+3
2014-07-16nss: various minor fixes to nss-myhostname + nss-mymachinesLennart Poettering1-5/+8
2014-07-11nss-myhostname: simplify array building a bitLennart Poettering1-15/+8
2014-07-10nss-myhostname: move NSS boilerplate to nss-util.hLennart Poettering2-94/+9
2014-07-10nss-myhostname: move local address listing logic into shared, so that we can ...Lennart Poettering3-210/+24
2014-07-10nss-myhostname: only export the NSS entry point symbols, nothing elseLennart Poettering1-0/+19
2014-07-10nss-myhostname: following the usual naming scheme for .c/.h filesLennart Poettering3-9/+8
2014-07-10nss-myhostname: various modernizationsLennart Poettering3-117/+117
2014-04-19nss-myhostname: port to sd-rtnlTom Gundersen1-155/+90
2013-11-18Remove duplicate includesKarel Zak1-1/+0