Hi All,
man page for chcontext:
You must be root, running X. # We start an xterm in another security
context /usr/sbin/chcontext xterm &
got an error:
vcontext: vc_ctx_create(): Invalid argument
# Ok, this is PID XX. We need the security context /usr/sbin/chcontext
--ctx 1 cat /proc/XX/status
# We see the s_context, this is SS.
but s_context doesn't exist
if I run cat /proc/self/status inside guest - no s_context , inside
host - no s_context.
Am I doing anything wrong?
Tried with:
Kernel: 2.6.24-23-vserver
util-vserver: 0.30.214; Mar 17 2008, 10:23:20
Kernel: 2.6.30.5-vs2.3.0.36.14-pre7
util-vserver: 0.30.216-pre2841; Sep 3 2009, 16:24:25
Kernel: 2.6.31-vs2.3.0.36.14-pre8
util-vserver: 0.30.216-pre2841; Aug 21 2009, 12:04:50
Kernel: 2.6.26-2-vserver-686-bigmem
util-vserver: 0.30.216-pre2772; Dec 12 2008, 23:24:33
-- -- MichaelReceived on Wed Sep 30 08:28:43 2009