Work better on 2.6.19.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 8 Dec 2006 13:24:49 +0000 (13:24 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 8 Dec 2006 13:24:49 +0000 (13:24 +0000)
commit60eb97440f168c25135c63ef3ce06cf6c0babdda
treebf145fa8791b135eee92ecb2a494be394b7384f5
parente0ffc53d2cec2335a779d989a0e27f1e3c649e7c
Work better on 2.6.19.
This includes adding a new kind of API that depends on the VCI-bits, to detect the presence of spaces.
vnamespace now only enters the filesystem related namespaces (CLONE_NEWNS|CLONE_FS).
vc_ctx_migrate_spaces enters the others.
Fix dynamic context detection by using the VCI-bits.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2415 94cd875c-1c1d-0410-91d2-eb244daf1a30
22 files changed:
lib/Makefile-files
lib/checkconfig.c [new file with mode: 0644]
lib/getxidtype.c
lib/internal.h
lib/isdynamicxid.c
lib/syscall_ctxmigrate-v21.hc [new file with mode: 0644]
lib/syscall_ctxmigrate.c
lib/syscall_enternamespace-v13.hc
lib/syscall_enternamespace-v21.hc [new file with mode: 0644]
lib/syscall_enternamespace.c
lib/syscall_getspacemask-v21.hc [new file with mode: 0644]
lib/syscall_getspacemask.c [new file with mode: 0644]
lib/syscall_getvci-v21.hc
lib/syscall_getvci.c
lib/syscall_setnamespace-v13.hc
lib/syscall_setnamespace-v21.hc [new file with mode: 0644]
lib/syscall_setnamespace.c
lib/virtual.h
lib/vserver-internal.h
lib/vserver.h
src/vcontext.c
src/vnamespace.c