├── .gitignore ├── .npmignore ├── .vscode └── settings.json ├── CMakeLists.txt ├── LICENSE ├── README.md ├── demo └── demo.js ├── native ├── addon.cc ├── cgroup.cc ├── cgroup.h ├── pipe.cc ├── pipe.h ├── sandbox.cc ├── sandbox.h ├── semaphore.cc ├── semaphore.h ├── utils.cc └── utils.h ├── package.json ├── src ├── index.ts ├── interfaces.ts ├── nativeAddon.ts ├── sandboxProcess.ts ├── tsconfig.json └── utils.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/.npmignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/README.md -------------------------------------------------------------------------------- /demo/demo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/demo/demo.js -------------------------------------------------------------------------------- /native/addon.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/addon.cc -------------------------------------------------------------------------------- /native/cgroup.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/cgroup.cc -------------------------------------------------------------------------------- /native/cgroup.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/cgroup.h -------------------------------------------------------------------------------- /native/pipe.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/pipe.cc -------------------------------------------------------------------------------- /native/pipe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/pipe.h -------------------------------------------------------------------------------- /native/sandbox.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/sandbox.cc -------------------------------------------------------------------------------- /native/sandbox.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/sandbox.h -------------------------------------------------------------------------------- /native/semaphore.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/semaphore.cc -------------------------------------------------------------------------------- /native/semaphore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/semaphore.h -------------------------------------------------------------------------------- /native/utils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/utils.cc -------------------------------------------------------------------------------- /native/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/native/utils.h -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/package.json -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/nativeAddon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/nativeAddon.ts -------------------------------------------------------------------------------- /src/sandboxProcess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/sandboxProcess.ts -------------------------------------------------------------------------------- /src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/tsconfig.json -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/src/utils.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Menci/simple-sandbox/HEAD/yarn.lock --------------------------------------------------------------------------------