NAME¶
vcontext - manages the creation of security contexts
DESCRIPTION¶
Usage:¶
- vcontext --create [--xid <xid>] <opts>*
[--] <program> <args>* vcontext [( --migrate
--xid <xid>)|--migrate-self] <opts>* [--]
<program> <args>*
<opts> can be:¶
- --chroot
- ... chroot into current directory
- --namespace
- ... execute namespace management operations
- --uid <uid>
- ... change uid
- --initpid
- ... set current process as general process reaper for ctx
(possible for --migrate only)
- --endsetup
- ... clear the setup flag; usefully for migrate only
- --disconnect
- ... 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
- --silent
- ... be silent
- --silentexist
- ... 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
- --vlogin
- ... enable terminal proxy
- --closefd
- ... close all open file descriptors >2
'vcontext
--create' exits with code 254 iff the context exists already.
Please report bugs to vserver@list.linux-vserver.org
This program is part of util-vserver
COPYRIGHT¶
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.