summaryrefslogtreecommitdiff
path: root/src/shared/nss-util.h
Commit message (Collapse)AuthorAge
* nss-mymachines: map userns users of containers to real user namesLennart Poettering2017-03-14
| | | | | | | | | | | | | Given a container "foo", that maps user id $UID to container user, using user namespaces, this NSS module extenstion will now map the $UID to a name "vu-foo-$TUID" for the translated UID $UID. Similar, userns groups are mapped to "vg-foo-$TGID" for translated GIDs of $GID. This simple change should make userns users more discoverable. Also, given that many tools like "adduser" check NSS before allocating a UID, should lower the chance of UID range conflicts between tools.
* nss-util: be a tiny bit more compatible with glibc's lookup behaviour ↵Lennart Poettering2014-07-17
| | | | | | | | regarding IPv6 Check for RES_USE_INET6 before we prefer IPv6 over IPv4, for all our NSS modules. (Not that the DNS resolver that is configured with this matters to us, but hey, let's try to be compatible).
* nss-myhostname: move NSS boilerplate to nss-util.hLennart Poettering2014-07-10