]> git.proxmox.com Git - mirror_lxc.git/commit
lxc_unshare: Replace getpw*_r by getpw*
authorStéphane Graber <stgraber@ubuntu.com>
Thu, 3 Jan 2013 16:51:52 +0000 (11:51 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 9 Jan 2013 15:22:54 +0000 (10:22 -0500)
commit5c0f1b3b2fb0653a4463e005bfc39b9b6d2934fd
treea9d818bfc8fab45204ca4fc3e76277deacf6f3ea
parent72f919c42a7b327b92b03206662ba3accad31bae
lxc_unshare: Replace getpw*_r by getpw*

Bionic and maybe some other libc implementations lack the _r nss functions.
This replaces our current getpwnam_r and getpwuid_r calls by getpwnam and
getpwuid.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_unshare.c