Merge "Check the return value of setuid(2)." am: 155d2bcb7a
am: 4503269951

Change-Id: I2fc84f80f38f1afdddbdb4f7c1ca6ec0fe25f29d