descriptionMuen SK channel file system Linux kernel module
ownerReto Buerki
last changeMon, 6 Mar 2017 16:07:23 +0000 (17:07 +0100)
readme

Muenfs

Introduction

The muenfs Linux kernel module implements a virtual file system that facilitates user-space access to shared memory channels provided by the Muen Separation Kernel.

For each detected channel, a file of matching size and permission is shown in the file system. A user-space application can use stat(2) calls to get the permissions (rw or r/o) of the files and the size of the region. For accessing file contents read(2), write(2), and mmap(2) operations are supported.

Usage

$ modprobe muenfs
$ mkdir -p /muenfs
$ mount -t muenfs none /muenfs

Example Code

See the test/muenfs-test.c program for example code on how to map a channel file and access its contents.

Authentication

The current authentication model is that the files are created with uid and gid set to 0. Depending on the type of the region the files have permissions 0400 or 0600. No further capability checking is done by this module.

shortlog
2017-03-06 Adrian-Ken... Adjust to upstream full_name_hash change (8387ff2...) master
2016-10-26 Adrian-Ken... Adjust to latest sinfo API changes
2015-04-15 Reto BuerkiInitial import of the muenfs Linux kernel module
heads
7 weeks ago master