summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorIan Jackson2017-09-15 19:10:44 +0200
committerIan Jackson2018-04-26 17:29:51 +0200
commit2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600 (patch)
tree7a70bba42c024c87a4fdc8a43c64c7bbcf462c41 /scripts/checkpatch.pl
parentos-posix: cleanup: Replace fprintfs with error_report in change_process_uid (diff)
downloadqemu-2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600.tar.gz
qemu-2c42f1e80103cb926c0703d4c1ac1fb9c3e2c600.tar.xz
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions