We propose a sandbox system that dynamically changes its behavior according to the application’s execution context. Our system
allows users to give different policies, each of which specifies permitted system calls, depending on the user functions in
which the target application is executing. The target application can be given less privilege than would be possible with
other single-policy sandbox systems. We implemented the sandbox by using LKM (Loadable Kernel Module) of Linux that intercepts
the system call issued by the application process. We experimentally demonstrated the effectiveness of the sandbox.