net-test: RunAsUidGid - support setting both uid and gid at the same time

Currently, it tries to change the UID first and then GID. This
fails because once the test is no longer root then setgid doesn't
work any more.

Test: TreeHugger
Bug: 138428914
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I9f0ad3722342d25c1eb52483e1844b6eb17eef42
1 file changed
tree: c8a407911069c6e30fd6b78260fdbc2e955294eb
  1. devicetree/
  2. net/
  3. Android.bp
  4. METADATA