libxl: userlookup_helper_getpwnam rename and turn into a macro
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 15 Sep 2017 17:35:44 +0000 (18:35 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 11 Oct 2017 11:51:22 +0000 (12:51 +0100)
commitc9616d74b7f672ceaa383226531a4965228b13f1
tree943026a8b0c9e87bb928eabff620c65c61ed3de3
parent89da2861923d52eb9d239bb6335eed118ce8080b
libxl: userlookup_helper_getpwnam rename and turn into a macro

We are going to want versions of getpwuid, too.  And maybe in the
future getgr*.

This is most sanely achieved with a macro, as otherwise the types are
a mess.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_dm.c