From 4e9d39af9e069f565eb3633974ab2be0fdaabd2c Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 23 Jun 2016 12:50:31 +0200 Subject: [PATCH] Add note why we're not forwarding /dev/alarm --- src/anbox/cmds/run.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/anbox/cmds/run.cpp b/src/anbox/cmds/run.cpp index 6111021..757a397 100644 --- a/src/anbox/cmds/run.cpp +++ b/src/anbox/cmds/run.cpp @@ -97,6 +97,11 @@ anbox::cmds::Run::Run() spec.temporary_dirs.push_back("/cache"); spec.temporary_dirs.push_back("/storage"); spec.temporary_dirs.push_back("/dev/input"); + + // NOTE: We're not mapping /dev/alarm here as if its not available + // Android will automatically use its timerfd based fallback + // implementation instead. + // We isolate the container from accessing binder nodes of the host // through the IPC namespace which gets support for binder with extra // patches we require.