vcontext8
Manages the creation of security contexts
Overview
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
--migrateonly)
-
--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 [email protected]
This program is part of util-vserver
Releases
Unchanged in 3 releases since Debian 8 (Jessie).