diff options
| author | Ian Jackson <ian.jackson@eu.citrix.com> | 2017-09-15 18:10:44 +0100 |
|---|---|---|
| committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2018-04-26 16:29:51 +0100 |
| commit | 2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600 (patch) | |
| tree | 7a70bba42c024c87a4fdc8a43c64c7bbcf462c41 /include/hw/xen/xen_common.h | |
| parent | f0a2171bf9f35b0430e18676a688b2c985f8917a (diff) | |
| download | focaccia-qemu-2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600.tar.gz focaccia-qemu-2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600.zip | |
os-posix: Provide new -runas <uid>:<gid> facility
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.Jackson@eu.citrix.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Markus Armbruster <armbru@redhat.com> CC: Daniel P. Berrange <berrange@redhat.com> CC: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/hw/xen/xen_common.h')
0 files changed, 0 insertions, 0 deletions