util-vserver.git
14 years agoSome improvements to namespace sharing.
Daniel Hokka Zakrisson [Thu, 15 Jul 2010 22:30:08 +0000]
Some improvements to namespace sharing.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2897 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoEnter namespaces before context setup.
Daniel Hokka Zakrisson [Thu, 8 Jul 2010 19:25:20 +0000]
Enter namespaces before context setup.
Use correct syntax.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2896 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoUse the shared spaces everywhere but rescue.
Daniel Hokka Zakrisson [Thu, 8 Jul 2010 18:51:54 +0000]
Use the shared spaces everywhere but rescue.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2895 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoAllow sharing of spaces.
Daniel Hokka Zakrisson [Thu, 8 Jul 2010 18:47:58 +0000]
Allow sharing of spaces.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2894 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agofixed dietlibc/non-dietlibc issues in testsuite
Enrico Scholz [Wed, 2 Jun 2010 22:16:47 +0000]
fixed dietlibc/non-dietlibc issues in testsuite

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2893 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agofixed dietlibc/non-dietlibc issues in testsuite
Enrico Scholz [Wed, 2 Jun 2010 21:55:47 +0000]
fixed dietlibc/non-dietlibc issues in testsuite

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2892 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoadded libvserver.py to AM_INSTALLCHECK_STD_OPTIONS_EXEMPT
Enrico Scholz [Wed, 2 Jun 2010 20:44:48 +0000]
added libvserver.py to AM_INSTALLCHECK_STD_OPTIONS_EXEMPT

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2891 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Wed, 2 Jun 2010 20:41:36 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2890 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoadded missing #include's
Enrico Scholz [Wed, 2 Jun 2010 20:27:50 +0000]
added missing #include's

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2889 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Wed, 2 Jun 2010 20:22:53 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2888 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Wed, 2 Jun 2010 20:09:47 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2887 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoadded missing includes
Enrico Scholz [Wed, 2 Jun 2010 19:55:12 +0000]
added missing includes

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2886 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Wed, 2 Jun 2010 19:54:56 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2885 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Wed, 2 Jun 2010 19:44:24 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2884 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoCheck for find in configure since it may be a symlink.
Daniel Hokka Zakrisson [Wed, 31 Mar 2010 13:53:16 +0000]
Check for find in configure since it may be a symlink.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2883 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoDon't mount the ns subsystem.
Daniel Hokka Zakrisson [Thu, 25 Feb 2010 22:37:52 +0000]
Don't mount the ns subsystem.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2882 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoMake namespace cleanup look at whole paths, fixing guests with the same beginning...
Daniel Hokka Zakrisson [Thu, 25 Feb 2010 16:00:08 +0000]
Make namespace cleanup look at whole paths, fixing guests with the same beginning in their names.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2881 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoNot supposed to change that...
Daniel Hokka Zakrisson [Sun, 21 Feb 2010 17:47:42 +0000]
Not supposed to change that...

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2880 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoInclude libvserver.py in the tarball.
Daniel Hokka Zakrisson [Sun, 21 Feb 2010 17:45:25 +0000]
Include libvserver.py in the tarball.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2879 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoARM EABI
Daniel Hokka Zakrisson [Sat, 20 Feb 2010 04:57:37 +0000]
ARM EABI

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2878 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoDon't touch /proc for SuSE.
Daniel Hokka Zakrisson [Thu, 18 Feb 2010 14:38:20 +0000]
Don't touch /proc for SuSE.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2877 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoLet vserver <xid> enter/stop work.
Daniel Hokka Zakrisson [Thu, 18 Feb 2010 14:37:51 +0000]
Let vserver <xid> enter/stop work.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2876 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoSkip util-vserver files when setting up the cgroup.
Daniel Hokka Zakrisson [Thu, 18 Feb 2010 14:37:00 +0000]
Skip util-vserver files when setting up the cgroup.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2875 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoSync sysv and Gentoo initscripts.
Daniel Hokka Zakrisson [Thu, 18 Feb 2010 13:58:39 +0000]
Sync sysv and Gentoo initscripts.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2874 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agobuild the 'parselimit' testprogram with dietlibc; it is linked already
Enrico Scholz [Sat, 13 Feb 2010 21:02:30 +0000]
build the 'parselimit' testprogram with dietlibc; it is linked already
against the dietlibc libvserver which might break the build due to
diet's glibc linker guard

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2873 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowhitespace cleanups
Enrico Scholz [Sat, 13 Feb 2010 20:58:40 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2872 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agojust delete the darn thing, syslog-ng 3.x broke this
Benedikt Boehm [Wed, 27 Jan 2010 15:48:21 +0000]
just delete the darn thing, syslog-ng 3.x broke this

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2871 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoVXC_NAMESPACE.
Daniel Hokka Zakrisson [Wed, 2 Dec 2009 19:23:21 +0000]
VXC_NAMESPACE.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2870 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years ago/proc/mounts is apparently writeable.
Daniel Hokka Zakrisson [Wed, 2 Dec 2009 11:13:49 +0000]
/proc/mounts is apparently writeable.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2869 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoFix upstart on recent Ubuntu-based systems.
Daniel Hokka Zakrisson [Sun, 29 Nov 2009 16:06:39 +0000]
Fix upstart on recent Ubuntu-based systems.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2868 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoTreat no limit separately.
Daniel Hokka Zakrisson [Sun, 29 Nov 2009 15:03:08 +0000]
Treat no limit separately.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2867 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoInstall the pretty library too.
Daniel Hokka Zakrisson [Sat, 28 Nov 2009 05:55:42 +0000]
Install the pretty library too.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2866 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoUse the host's /etc/resolv.conf by default.
Daniel Hokka Zakrisson [Sat, 28 Nov 2009 05:51:17 +0000]
Use the host's /etc/resolv.conf by default.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2865 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoVXC_TIOCSTI
Daniel Hokka Zakrisson [Wed, 25 Nov 2009 12:10:36 +0000]
VXC_TIOCSTI

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2864 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agodebootstrap URI
Daniel Hokka Zakrisson [Mon, 23 Nov 2009 16:47:57 +0000]
debootstrap URI

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2863 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoInclude /proc in %_netsharedpath.
Daniel Hokka Zakrisson [Sat, 21 Nov 2009 23:02:26 +0000]
Include /proc in %_netsharedpath.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2862 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoThe limits are unsigned values.
Daniel Hokka Zakrisson [Sat, 21 Nov 2009 13:50:32 +0000]
The limits are unsigned values.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2861 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agowork with newer autoconf.
Daniel Hokka Zakrisson [Sat, 21 Nov 2009 10:00:53 +0000]
work with newer autoconf.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2860 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoDefault to no attribute change for bind mounts.
Daniel Hokka Zakrisson [Sat, 21 Nov 2009 09:44:00 +0000]
Default to no attribute change for bind mounts.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2859 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years ago-i for index.
Daniel Hokka Zakrisson [Fri, 20 Nov 2009 14:39:16 +0000]
-i for index.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2858 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoNeed one more character for the flags with CoW.
Daniel Hokka Zakrisson [Fri, 20 Nov 2009 12:19:31 +0000]
Need one more character for the flags with CoW.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2857 94cd875c-1c1d-0410-91d2-eb244daf1a30

14 years agoAdd 3.2.22 patch.
Daniel Hokka Zakrisson [Fri, 6 Nov 2009 18:37:28 +0000]
Add 3.2.22 patch.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2856 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd LSB SysV information.
Daniel Hokka Zakrisson [Wed, 21 Oct 2009 02:04:42 +0000]
Add LSB SysV information.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2855 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoSupport file bind mounts.
Daniel Hokka Zakrisson [Tue, 13 Oct 2009 06:57:28 +0000]
Support file bind mounts.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2854 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd COW to showattr.
Daniel Hokka Zakrisson [Thu, 8 Oct 2009 17:14:21 +0000]
Add COW to showattr.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2853 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd cow to setattr.
Daniel Hokka Zakrisson [Thu, 8 Oct 2009 17:07:24 +0000]
Add cow to setattr.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2852 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAllow audit control by default.
Daniel Hokka Zakrisson [Mon, 5 Oct 2009 21:27:24 +0000]
Allow audit control by default.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2851 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd new ccaps.
Daniel Hokka Zakrisson [Mon, 5 Oct 2009 21:23:54 +0000]
Add new ccaps.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2850 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoicreate /dev/fd and /dev/std{in,out,err} as udev would have done it
Benedikt Boehm [Wed, 23 Sep 2009 14:15:49 +0000]
icreate /dev/fd and /dev/std{in,out,err} as udev would have done it

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2849 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd squeeze as a Debian-based distribution.
Daniel Hokka Zakrisson [Mon, 14 Sep 2009 15:51:11 +0000]
Add squeeze as a Debian-based distribution.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2848 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoadded _libvserver-constants.c to CLEANFILES
Enrico Scholz [Sun, 23 Aug 2009 12:45:54 +0000]
added _libvserver-constants.c to CLEANFILES

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2847 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agowhitespace cleanups
Enrico Scholz [Sun, 23 Aug 2009 12:36:40 +0000]
whitespace cleanups

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2846 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years ago- updated/completed copyright dates
Enrico Scholz [Sun, 23 Aug 2009 12:28:19 +0000]
- updated/completed copyright dates
- put files under a dual GPLv2 and GPLv3 license

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2845 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoNew debootstrap.
Daniel Hokka Zakrisson [Thu, 23 Jul 2009 16:29:49 +0000]
New debootstrap.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2844 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agovcontext uses MNT_DETACH too.
Daniel Hokka Zakrisson [Mon, 20 Jul 2009 21:24:03 +0000]
vcontext uses MNT_DETACH too.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2843 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoFix the trailing slash problem.
Daniel Hokka Zakrisson [Thu, 9 Jul 2009 18:40:48 +0000]
Fix the trailing slash problem.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2842 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoMake the specfile work on Mandriva 2009.1.
Daniel Hokka Zakrisson [Fri, 26 Jun 2009 00:30:59 +0000]
Make the specfile work on Mandriva 2009.1.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2841 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd mount flags that are "recent".
Daniel Hokka Zakrisson [Tue, 23 Jun 2009 18:16:53 +0000]
Add mount flags that are "recent".

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2840 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoDon't require ionice, for ancient distributions.
Daniel Hokka Zakrisson [Tue, 23 Jun 2009 17:56:47 +0000]
Don't require ionice, for ancient distributions.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2839 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoRequire Python >= 2.4.
Daniel Hokka Zakrisson [Tue, 23 Jun 2009 17:38:41 +0000]
Require Python >= 2.4.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2838 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd F10 and F11.
Daniel Hokka Zakrisson [Tue, 9 Jun 2009 13:36:47 +0000]
Add F10 and F11.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2837 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoRemove debootstrap.script
Daniel Hokka Zakrisson [Mon, 8 Jun 2009 18:51:14 +0000]
Remove debootstrap.script

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2836 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoNew debootstrap.
Daniel Hokka Zakrisson [Mon, 27 Apr 2009 16:52:00 +0000]
New debootstrap.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2835 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoRemove the debootstrap scripts, only causing more harm than good.
Daniel Hokka Zakrisson [Fri, 10 Apr 2009 20:51:27 +0000]
Remove the debootstrap scripts, only causing more harm than good.
Update the deboostrap version used.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2834 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoHandle shared/private/unbindable/slave mounts internally.
Daniel Hokka Zakrisson [Fri, 10 Apr 2009 20:24:04 +0000]
Handle shared/private/unbindable/slave mounts internally.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2833 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoThe remount still needs to have MS_BIND set.
Daniel Hokka Zakrisson [Fri, 3 Apr 2009 16:41:16 +0000]
The remount still needs to have MS_BIND set.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2832 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years ago-o shared doesn't work with --rbind.
Daniel Hokka Zakrisson [Wed, 18 Mar 2009 19:26:51 +0000]
-o shared doesn't work with --rbind.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2831 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agowhitespace cleanup
Enrico Scholz [Sat, 14 Feb 2009 10:07:54 +0000]
whitespace cleanup

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2830 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agofixed detection of dietlibc version strings like 0.31-1.2
Enrico Scholz [Sat, 14 Feb 2009 10:06:29 +0000]
fixed detection of dietlibc version strings like 0.31-1.2

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2829 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAttach to the cgroup.
Daniel Hokka Zakrisson [Mon, 1 Dec 2008 20:48:32 +0000]
Attach to the cgroup.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2828 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd /dev/shm.
Daniel Hokka Zakrisson [Tue, 11 Nov 2008 20:59:34 +0000]
Add /dev/shm.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2827 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoRemove the #ifdef since the logic got inverted.
Daniel Hokka Zakrisson [Tue, 11 Nov 2008 20:58:41 +0000]
Remove the #ifdef since the logic got inverted.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2826 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd COPYING to svn.
Daniel Hokka Zakrisson [Thu, 6 Nov 2008 17:13:15 +0000]
Add COPYING to svn.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2825 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd a way to disable library versioning. Better than nothing until proper checks...
Daniel Hokka Zakrisson [Thu, 6 Nov 2008 02:27:17 +0000]
Add a way to disable library versioning. Better than nothing until proper checks are written.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2824 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd missing piece of code.
Daniel Hokka Zakrisson [Thu, 6 Nov 2008 02:18:50 +0000]
Add missing piece of code.
Fix __add__ and __sub__ in class struct.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2823 94cd875c-1c1d-0410-91d2-eb244daf1a30

15 years agoAdd Pythonizing wrappers for the Python-bindings.
Daniel Hokka Zakrisson [Thu, 6 Nov 2008 02:00:45 +0000]
Add Pythonizing wrappers for the Python-bindings.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2822 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoEnter the spaces when migrating to an existing static context.
Daniel Hokka Zakrisson [Mon, 3 Nov 2008 19:52:53 +0000]
Enter the spaces when migrating to an existing static context.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2821 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoSigh.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:46:11 +0000]
Sigh.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2820 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoUse pivot_root on kernels supporting two namespaces per context.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:41:04 +0000]
Use pivot_root on kernels supporting two namespaces per context.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2819 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoFix vc_get_space_default and add vc_get_space_mask v1.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 15:40:01 +0000]
Fix vc_get_space_default and add vc_get_space_mask v1.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2818 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoAdd VCMD_{enter,set}_space_v2 support, in preparation of pivot_root.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:45:26 +0000]
Add VCMD_{enter,set}_space_v2 support, in preparation of pivot_root.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2817 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoRemove vnamespace in favor of vspace and a small wrapper around it.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:21:52 +0000]
Remove vnamespace in favor of vspace and a small wrapper around it.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2816 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoAdd hidden attribute to be used for versioned symbols.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:07:18 +0000]
Add hidden attribute to be used for versioned symbols.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2815 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoMove space creation/entering out of vc_ctx_{create,migrate}.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:05:53 +0000]
Move space creation/entering out of vc_ctx_{create,migrate}.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2814 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoCLONE_NEWNS and CLONE_FS aren't default spaces.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:00:53 +0000]
CLONE_NEWNS and CLONE_FS aren't default spaces.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2813 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoFilter out CLONE_NEWNS and CLONE_FS, as vc_get_space_default does.
Daniel Hokka Zakrisson [Fri, 31 Oct 2008 04:00:12 +0000]
Filter out CLONE_NEWNS and CLONE_FS, as vc_get_space_default does.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2812 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoNeed to be able to retrieve per-CPU values.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 22:45:15 +0000]
Need to be able to retrieve per-CPU values.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2811 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoLibrary versioning stubs.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 21:23:00 +0000]
Library versioning stubs.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2810 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years ago32-bit and Python 2.4 support.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 02:33:25 +0000]
32-bit and Python 2.4 support.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2809 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoThese got lost somehow.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 02:25:13 +0000]
These got lost somehow.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2808 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoBR: ctags
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 01:59:52 +0000]
BR: ctags

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2807 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoSome minor cleanups in the Python build.
Daniel Hokka Zakrisson [Thu, 30 Oct 2008 01:21:08 +0000]
Some minor cleanups in the Python build.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2806 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoJust in case anything else wants to use Python as part of the build process.
Daniel Hokka Zakrisson [Wed, 29 Oct 2008 18:37:15 +0000]
Just in case anything else wants to use Python as part of the build process.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2805 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years ago65 is the length of the command structure's field.
Daniel Hokka Zakrisson [Wed, 29 Oct 2008 18:36:49 +0000]
65 is the length of the command structure's field.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2804 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoAdd Python stuff.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:56:45 +0000]
Add Python stuff.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2803 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agovserver.start.bin
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:51:15 +0000]
vserver.start.bin

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2802 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoAdd Python bindings to libvserver.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:24:44 +0000]
Add Python bindings to libvserver.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2801 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoRename flags to cflags.
Daniel Hokka Zakrisson [Tue, 28 Oct 2008 00:23:26 +0000]
Rename flags to cflags.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2800 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoULL is needed to get a 64-bit wide integer.
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 23:52:58 +0000]
ULL is needed to get a 64-bit wide integer.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2799 94cd875c-1c1d-0410-91d2-eb244daf1a30

16 years agoAdd new capabilities.
Daniel Hokka Zakrisson [Mon, 27 Oct 2008 22:58:20 +0000]
Add new capabilities.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2798 94cd875c-1c1d-0410-91d2-eb244daf1a30