chcontext (cont.)
- vserver only features:
wilber:~# chcontext --flag sched /usr/bin/perl -e '1 while 1' &
- UTS information can be set to anything:
wilber:~# chcontext sh -c "sleep 15; echo; echo -n 'Machine is: '; uname -m" & [1] 20291 wilber:~# New security context is 49172 wilber:~# vuname --xid 49172 -s -t machine=weird wilber:~# Machine is: weird
- Useful for keeping x86_64 and i386 dists on the same machine
wilber:~# uname -m x86_64 wilber:~# vserver woody exec uname -m i386