KMVIEW(1) - man page online | user commands
Kernel Mode implementation of View-OS.
August 18, 2007
VIEW-OS(1) General Commands Manual VIEW-OS(1)
NAMEkmview - Kernel Mode implementation of View-OS
SYNOPSISkmview [ options ] prog
DESCRIPTIONThe main goal of the View-OS project is to give each process its own view of the system resources. For example, each process can mount filesystems or hide some file or directo‐ ries. It is also possible to assign virtual network interfaces, IP addresses or define virtual devices for each process (or for hierarchies of processes). kmview is the kernel module implementation of View-OS concepts. It works on a linux ker‐ nel providing utrace and it needs the kmview kernel module already loaded to work. It is a modular partial virtual machine. kmview before loading any module is completely trans‐ parent, a process behaves inside kmview as it would have behaved outside. Each module can customize specific entities: there are modules to mount filesystems at user-level (umfuse) , to define virtual networking stacks (net) , to define virtual devices (umdev) , to pro‐ vide interpreters for executables, e.g. to support executables for foreign architectures (umbinfmt) , to hide, move, overlay parts of the file system (viewfs). These are some examples of modules provided by the View-OS team. kmview aims to provide a general interface to customize the system call semantics of process under specified condi‐ tions. So more modules will be added both by the View-OS team and by third parties.
OPTIONS-V name --viewname name set the name of the view. The view can be read and set using vuname or viewname com‐ mands. -p module [ , module_options ] --preload module [ , module_options ] preload modules. Modules will be loaded as shared libraries thus all the rules to load libraries apply. Modules must be loaded from a directory within the ld.so search path or should be specified by their pathnames. If necessary configure the LD_LIBRARY_PATH environment variable appropriately. module_options are module spe‐ cific configuration options, thus the reader should refer to each service module man‐ ual for a complete description. Modules can be loaded at run time using the um_add_service command. -s --secure set kmview in human mode, i.e. force the check of capabilities and permissions. uid is 0 at startup, in this way it is possible to load modules and mount services. When a process sets its uid as an unprivileged user (via setuid(2) or viewsu(1)), capability and permissions are enforced. -f rcfile --rc rcfile Use rcfile as the initialization file for kmview. kmview always executes /etc/viewosrc if exists, then kmview executes the initialization file set by this option or ~/.viewosrc. -x --nonesting umview is able to provide module nesting, i.e. a module can provide services on the basis of virtual services provided by another module or even by the module itself. For example it is possible to mount a file system image which is stored in an already vir‐ tually mounted filesystem. This feature requires the pure_libc library. The -x or --nonesting option disables the nesting feature. -o file --output file This option diverts the debugging output to the file specified, it is useful when umview has been compiled with debugging extensions. -v --version Print the version and exit. -h --help Print a short help message and exit.
SEE ALSOum_add_service(1) um_del_service(1) um_ls_service(1) um_mov_service(1) umfuse(1viewos) lwipv6(1viewos) umdev(1viewos) umbinfmt(1viewos) viewfs(1viewos) vuname(1viewos) view‐ name(1viewos)
VIEW-OS: a process with a view August 18, 2007 VIEW-OS(1)
AUTHORSView-OS is a project of the Computer Science Department, University of Bologna. Project Leader: Renzo Davoli. Development Team: P. Angelelli, A. Bacchelli, M. Belletti, P. Bev‐ erini, D. Billi, A. Forni, L. Gardenghi, A. Gasparini, D. Lacamera, C. Martellini, A. Ser‐ aghiti <http://www.sourceforge.net/projects/view-os> Howto's and further information can be found on the project wiki <wiki.virtualsquare.org>.
|This manual||Reference||Other manuals|
|kmview(1)||referred by||mstack(1) | um_del_service(1) | um_fsalias(1) | um_ls_service(1) | umshutdown(1) | viewmount(1) | viewospasswd(5) | viewumount(1)|
|refer to||setuid(2) | um_add_service(1) | um_del_service(1) | um_ls_service(1) | umfuse(1viewos) | viewsu(1) | vuname(1)|