GithubHelp home page GithubHelp logo

kryndex / linux-okernel-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linux-okernel/linux-okernel-components

0.0 2.0 0.0 180 KB

Okernel userspace components and supporting material

License: GNU General Public License v2.0

Roff 70.68% C 27.32% Makefile 0.99% Python 0.58% Shell 0.43%

linux-okernel-components's Introduction

linux-okernel building/running Instructions

Building

  1. Clone the main split kernel repo from https://github.com/linux-okernel/linux-okernel.

  2. Checkout the 'linux-okernel' branch.

  3. Build that kernel using the config file matching the desired kernel version from the build_configs sub-directory as the '.config' for the kernel. Note: If you make modifications to the config file or create your own, ensure that 'CONFIG_VMAP_STACK' is NOT set and 'CONFIG_OKERNEL' IS set (i.e. CONFIG_OKERNEL=y).

  4. Build the userspace tools found in sub-directory userspace_tools of this repository (linux-okernel-components).

Running

To launch a shell in outer-kernel mode run (as root):

$ ./userspace_tools/okernel_exec2 /bin/bash

You can check its status by looking at /proc/self/okernel: it should be 1 when running in outer-kernel mode, 0 otherwise.

Running containers in outer-kernel mode

To run containers in outer-kernel mode you currently need to start the docker daemon from a shell running in outer-kernel mode, e.g.:

$ ./userspace_tools/okernel_exec2 /bin/bash

$ dockerd -D

Any containers started via that daemon should be running in outer-kernel mode.

Tests and demonstrations

Build and run the tests and demonstration of protected memory. See 'test_mappings/README' for more information.

linux-okernel-components's People

Contributors

edwards-n avatar t-koulouris avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.