xmc-dev / isowrap

Library for running programs safely isolated from the rest of the system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Isowrap

Build Status Coverage Status GoDoc

Isowrap is a library used to execute programs isolated from the rest of the system.

It is a wrapper around Linux Containers (using isolate) and FreeBSD jails (WIP).

This is probably alpha quality software.

To do:

  • Linux isolate runner
    • Full env
  • FreeBSD jail runner
    • DOES NOT COMPILE - breaking changes
    • Implement "proper" wall time limit.
    • Stack limit
    • Maximum number of processes
    • Enable/Disable networking
    • Environment variables

Platform specific requirements

Linux (isolate)

See the INSTALLATION part of the isolate manual. Control groups are required, make sure that they are enabled and cgroupfs is mounted.

FreeBSD (jail)

Enable kernel racct support by adding the following line to /etc/loader.conf:

kern.racct.enable=1

About

Library for running programs safely isolated from the rest of the system

License:ISC License


Languages

Language:Go 91.4%Language:C 8.6%