[CRIU] [PATCH] security: skip obtaining additional groups for root, as they don't matter
Christopher Covington
cov at codeaurora.org
Wed Aug 6 07:53:13 PDT 2014
On 08/06/2014 10:49 AM, Ruslan Kuprieiev wrote:
> As it was reported, some systems don't use /etc/passwd.
> On such systems getpwuid fails with undefined errno(see getpwuid(3))
> not allowing criu to restrict ids with user additional groups.
> Luckily, on such systems criu is run as root, so we can
> just skip obtaining additional groups, as they don't matter
> for root.
Thanks for the quick fix. This gets the test suite rolling again for me.
Tested-by: Christopher Covington <cov at codeaurora.org>
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by the Linux Foundation.
More information about the CRIU
mailing list