• L
    util: add virCommandSetUID and virCommandSetGID · 417182b0
    Laine Stump 提交于
    If a uid and/or gid is specified for a command, it will be set just
    after the user-supplied post-fork "hook" function is called.
    
    The intent is that this can replace user hook functions that set
    uid/gid. This moves the setting of uid/gid and dropping of
    capabilities closer to each other, which is important since the two
    should really be done at the same time (libcapng provides a single
    function that does both, which we will be unable to use, but want to
    mimic as closely as possible).
    417182b0
vircommand.c 67.9 KB