commit | 605ce7f5ccda3597305f7ca8e21ba16e254cf96c | [log] [tgz] |
---|---|---|
author | Dylan Reid <dgreid@chromium.org> | Tue Jan 19 19:21:00 2016 -0800 |
committer | Dylan Reid <dgreid@google.com> | Wed Jan 20 12:59:12 2016 -0800 |
tree | bad108bf865961640b9e8a18c0af12334a2e4dcd | |
parent | ce5b55eb48f276951b6c4d1bbfc667240c1e8f2f [diff] |
Add ability to put jailed process in cgroups This adds an API that allows the jailed process to be added to a given cgroup. This API can be called repeatedly to add the process to many cgroups. The process will be added after fork but before it is exec'd. BUG=b/26549867 TEST=set cgroups and inspect that pid is in tasks file Change-Id: I87a9897c1dc741c726873e872eeae32692088979 Signed-off-by: Dylan Reid <dgreid@chromium.org>