• D
    Run initgroups() in qemudOpenAsUID() · b7bd75c4
    Dan Kenigsberg 提交于
    qemudOpenAsUID is intended to open a file with the credentials of a
    specified uid. Current implementation fails if the file is accessible to
    one of uid's groups but not owned by uid.
    
    This patch replaces the supplementary group list that the child process
    inherited from libvirtd with the default group list of uid.
    b7bd75c4
qemu_driver.c 401.6 KB