vcontext(8) manages the creation of security contexts



vcontext --create [--xid <xid>] <opts>* [--] <program> <args>* vcontext [(--migrate --xid <xid>)|--migrate-self] <opts>* [--] <program> <args>*

<opts> can be:

... chroot into current directory
... execute namespace management operations
--uid <uid>
... change uid
... set current process as general process reaper for ctx (possible for --migrate only)
... clear the setup flag; usefully for migrate only
... start program in background
--personality-type <type>
... execute <program> in the given execution domain
--personality-flags <flags>+
... set special flags for the given execution domain
... be silent
... be silent when context exists already; usefully for '--create' only
--syncsock <file-name>
... before executing the program, send a message
to the socket and wait until it closes. <file-name> must be a SOCK_STREAM unix socket
--syncmsg <message>
... use <message> as synchronization message; by
default, 'ok' will be used
... enable terminal proxy
... close all open file descriptors >2

'vcontext --create' exits with code 254 iff the context exists already.

Please report bugs to [email protected]

This program is part of util-vserver


Copyright © 2004-2006 Enrico Scholz This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.