commit | ab6fa6f4befef62684ca6a7f06d04f5193be595b | [log] [tgz] |
---|---|---|
author | Jorge Lucangeli Obes <jorgelo@google.com> | Thu Aug 04 15:42:48 2016 -0400 |
committer | Jorge Lucangeli Obes <jorgelo@google.com> | Fri Aug 05 17:21:00 2016 -0400 |
tree | a1fd5a13d7fc4799f92e28eff522d0c70bc4d5b4 | |
parent | 565e978e80d693c077ec71caf45f6e06636a1a11 [diff] |
Allow entering a user namespace with a default mapping. Map the current uid as root inside the namespace. This is useful to run Minijail as a non-root user. Also refactor uid/gid map functions to remove duplicate code. Bug: 30691131 Change-Id: Ideef616c8c13bcbacb14b826fa2fc064701a6f69