commit | e0ba4cebe680a5076623c7f00e419c7def72931e | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <[email protected]> | Thu Jul 20 15:12:22 2017 -0700 |
committer | Luis Hector Chavez <[email protected]> | Fri Jul 28 07:12:32 2017 -0700 |
tree | 3aee2aa5b43da22ecb822f16d2d31b389340fd60 | |
parent | db19bfbfbdce0f2b86f53d36392e49cb8f1645d6 [diff] |
minijail: Add minijail_add_hook() This allows callers to add hooks to be invoked at various events during minijail setup. This is useful to e.g. setup SELinux contexts, networking in the new namespace, and install other LSM-related stuff. Bug: 63904978 Test: make tests Change-Id: I3e773715ec1842db8071f5e993ee4bdcbe2d0082