Break up the old chbind into ncontext, nattribute, and naddress.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 19 Nov 2006 17:25:11 +0000 (17:25 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 19 Nov 2006 17:25:11 +0000 (17:25 +0000)
commite97918417e2f91e76024bee546366f2f0d43c281
treedefdb0fd95c38cd7dfafd0b27b2211430f2121a1
parent6dd1c8b1aa44268a11ddebabacf5fc583c523da6
Break up the old chbind into ncontext, nattribute, and naddress.
This is done mostly to add support for network flags and caps, but also to get the same level of flexibility that the security contexts have.
In addition, a vc_nidopt2nid was created to correctly map --nid self to the current process's nid.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2384 94cd875c-1c1d-0410-91d2-eb244daf1a30
13 files changed:
contrib/manifest.dat.pathsubst
ensc_wrappers/wrappers-vserver.hc
lib/Makefile-files
lib/nidopt2nid.c [new file with mode: 0644]
lib/vserver.h
scripts/Makefile-files
scripts/chbind [new file with mode: 0755]
scripts/util-vserver-vars.pathsubst
src/Makefile-files
src/chbind.c
src/naddress.c [new file with mode: 0644]
src/nattribute.c [new file with mode: 0644]
src/ncontext.c [new file with mode: 0644]