new virSetUIDGID() utility function
virSetUIDGID() sets both the real and effective group and user of the process, and additionally calls initgroups() to assure that the process joins all the auxiliary groups that the given uid is a member of.
Showing
想要评论请 注册 或 登录