aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/x86/CodegenInterface.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-02-14 09:56:41 -0800
committerNick Kralevich <nnk@google.com>2013-02-14 10:48:37 -0800
commitc0ecb5bdbf465ef05ed3379c13ff9a4245412ce7 (patch)
tree0425497efdd9028945458737a657c69a87766bda /vm/compiler/codegen/x86/CodegenInterface.cpp
parent2d28dc96680059afeba8910a539782f29613e06a (diff)
Zygote: limit the bounding capability set to CAP_NET_RAW
Prevent a zygote spawned application from acquiring capabilities other than CAP_NET_RAW. The only Zygote accessible program on Android which grants capabilities is /system/bin/ping (CAP_NET_RAW), so we don't need to keep the other capabilities in our bounding set. If the kernel doesn't support file capabilities, we end up printing approx 30 lines of warning messages. Hopefully this will encourage kernel developers to upgrade. In a future change, we can turn a prctl(PR_CAPBSET_DROP) failure into a fatal error. Change-Id: I8560fa5ad125bf31f0d13be513431697bc7d22bb
Diffstat (limited to 'vm/compiler/codegen/x86/CodegenInterface.cpp')
0 files changed, 0 insertions, 0 deletions