OSDN Git Service

fail explicitly if setuid() fails
authorKeun Soo Yim <yim@google.com>
Thu, 14 Apr 2016 00:17:52 +0000 (17:17 -0700)
committerKeun Soo Yim <yim@google.com>
Thu, 14 Apr 2016 01:43:26 +0000 (01:43 +0000)
commitf1e9cf929b054bb6f578bc16f8d3731f4505daa2
tree68b1dff251e32c250b92edbc0ecf67ecd79551a8
parentf3769c17615bc9c227cff83cad0e55bb9f878197
fail explicitly if setuid() fails

otherwise, the following code can be executed
with unintended privileges.

bug:28178548
Change-Id: I265f8c0e1693344a675cc2623968db816309b1f4
rild/rild.c