Ian Jackson <ian.jack...@eu.citrix.com> writes:

> This allows the caller to specify a uid and gid to use, even if there
> is no corresponding password entry.  This will be useful in certain
> Xen configurations.
>
> We don't support just -runas <uid> because: (i) deprivileging without
> calling setgroups would be ineffective (ii) given only a uid we don't
> know what gid we ought to use (since uids may eppear in multiple
> passwd file entries with different gids).
>
> Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
> Reviewed-by: Anthony PERARD <anthony.per...@citrix.com>
> CC: Paolo Bonzini <pbonz...@redhat.com>
> CC: Markus Armbruster <arm...@redhat.com>
> CC: Daniel P. Berrange <berra...@redhat.com>
> CC: Michael Tokarev <m...@tls.msk.ru>

Reviewed-by: Markus Armbruster <arm...@redhat.com>

Reply via email to