util-vserver.git
21 years agomoved 'vserver-init' functionality into the more general vserver-build*
Enrico Scholz [Mon, 20 Oct 2003 17:57:04 +0000]
moved 'vserver-init' functionality into the more general vserver-build*
files

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

21 years agognit'ified
Enrico Scholz [Sat, 18 Oct 2003 02:31:19 +0000]
gnit'ified

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

21 years agoadded pipe-sync
Enrico Scholz [Sat, 18 Oct 2003 02:31:01 +0000]
added pipe-sync

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

21 years agognit'ified
Enrico Scholz [Sat, 18 Oct 2003 02:30:49 +0000]
gnit'ified
added pipe-sync

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

21 years agominor cosmetical changes
Enrico Scholz [Sat, 18 Oct 2003 02:30:20 +0000]
minor cosmetical changes

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

21 years agouse "wrapper.h"
Enrico Scholz [Sat, 18 Oct 2003 02:29:59 +0000]
use "wrapper.h"

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

21 years agoEunlink(): added
Enrico Scholz [Sat, 18 Oct 2003 02:26:10 +0000]
Eunlink(): added

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

21 years agoadded $_VSERVER_BUILD
Enrico Scholz [Sat, 18 Oct 2003 02:25:41 +0000]
added $_VSERVER_BUILD

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

21 years agoadded help/version
Enrico Scholz [Sat, 18 Oct 2003 02:25:22 +0000]
added help/version
added 'build' option
made 'running' silently

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

21 years agoinitial checkin
Enrico Scholz [Sat, 18 Oct 2003 02:24:20 +0000]
initial checkin

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

21 years ago- gnit'ified it
Enrico Scholz [Sat, 18 Oct 2003 02:23:37 +0000]
- gnit'ified it

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

21 years ago- gnit'ified it
Enrico Scholz [Sat, 18 Oct 2003 02:23:17 +0000]
- gnit'ified it
- added vserver-build

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

21 years agognit'ified it
Enrico Scholz [Sat, 18 Oct 2003 02:22:53 +0000]
gnit'ified it

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

21 years agorestored compatibility for case when old syscall interface uses the
Enrico Scholz [Sat, 18 Oct 2003 01:54:10 +0000]
restored compatibility for case when old syscall interface uses the
new syscall-number (merged from SYSCALL_SWITCH branch)

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

21 years agoadd '#include "compat.h'" at bottom of config.h
Enrico Scholz [Fri, 17 Oct 2003 21:07:30 +0000]
add '#include "compat.h'" at bottom of config.h
version 0.23.191

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

21 years agocleaned up pathsubst rule
Enrico Scholz [Fri, 17 Oct 2003 21:06:27 +0000]
cleaned up pathsubst rule

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

21 years agoadded _CHROOT_CAT
Enrico Scholz [Fri, 17 Oct 2003 21:05:58 +0000]
added _CHROOT_CAT

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

21 years agocreate link to reverse ctx->vserver mapping
Enrico Scholz [Fri, 17 Oct 2003 21:05:45 +0000]
create link to reverse ctx->vserver mapping

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

21 years ago- removed '#! /bin/bash' header
Enrico Scholz [Fri, 17 Oct 2003 21:05:07 +0000]
- removed '#! /bin/bash' header
- added separate CHCONTEXT_DISCONNECT option
- use default runlevels only when sysv init-style is used
- create/empty mtab file before mounting the vserver

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

21 years ago- removed '#! /bin/bash' header
Enrico Scholz [Fri, 17 Oct 2003 21:03:52 +0000]
- removed '#! /bin/bash' header
- added separate CHCONTEXT_DISCONNECT option

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

21 years ago- removed '#! /bin/bash' header
Enrico Scholz [Fri, 17 Oct 2003 21:03:26 +0000]
- removed '#! /bin/bash' header
- disable interfaces when vserver is not running

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

21 years agoremoved '#! /bin/bash' header
Enrico Scholz [Fri, 17 Oct 2003 21:02:49 +0000]
removed '#! /bin/bash' header

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

21 years agoadded chroot-cat
Enrico Scholz [Fri, 17 Oct 2003 21:02:21 +0000]
added chroot-cat

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

21 years agostop vservers only, when they do not have the ONSTOP flag
Enrico Scholz [Fri, 17 Oct 2003 21:02:04 +0000]
stop vservers only, when they do not have the ONSTOP flag

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

21 years agoremoved some noise from the substrule
Enrico Scholz [Fri, 17 Oct 2003 21:01:06 +0000]
removed some noise from the substrule

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

21 years agoadded chroot-cat
Enrico Scholz [Fri, 17 Oct 2003 20:31:56 +0000]
added chroot-cat

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

21 years agoinitial checkin
Enrico Scholz [Fri, 17 Oct 2003 20:31:27 +0000]
initial checkin

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

21 years agoEreadlink(), Esymlink(): added
Enrico Scholz [Fri, 17 Oct 2003 20:31:08 +0000]
Ereadlink(), Esymlink(): added

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

21 years ago- added Evc_X_getctx() wrapper
Enrico Scholz [Fri, 17 Oct 2003 20:30:37 +0000]
- added Evc_X_getctx() wrapper

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

21 years ago- removed '#include <compat.h>'; it's now in global <config.h>
Enrico Scholz [Fri, 17 Oct 2003 20:30:12 +0000]
- removed '#include <compat.h>'; it's now in global <config.h>
- fixed problems with dietlibc's strtok_r() implementation
- do not set '-o <...>' mount-flag when 'defaults' is the only flag

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

21 years ago- removed '#include <compat.h>'; it's now in global <config.h>
Enrico Scholz [Fri, 17 Oct 2003 20:29:02 +0000]
- removed '#include <compat.h>'; it's now in global <config.h>
- use "wrappers.h" functions
- implemented reverse-symlink file

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

21 years ago- moved pid==0 handling into getprocentry-legacy.c and access /proc/self
Enrico Scholz [Fri, 17 Oct 2003 20:27:12 +0000]
- moved pid==0 handling into getprocentry-legacy.c and access /proc/self
  instead of /proc/<self-pid> there; this solves problems when 'fakeinit'
  flag is used
- removed '#include <compat.h>'; it's now in global <config.h>

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

21 years agoadded vserver-legacy and vserver.suexec
Enrico Scholz [Fri, 17 Oct 2003 00:46:10 +0000]
added vserver-legacy and vserver.suexec

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

21 years agokill init-pid
Enrico Scholz [Fri, 17 Oct 2003 00:45:49 +0000]
kill init-pid
more sanity checks

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

21 years agoadded support for kill-signal sequence
Enrico Scholz [Fri, 17 Oct 2003 00:45:05 +0000]
added support for kill-signal sequence

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

21 years agoadded getEnterShell() function
Enrico Scholz [Fri, 17 Oct 2003 00:44:43 +0000]
added getEnterShell() function
added support for kill-signal sequence

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

21 years ago- added legacy support
Enrico Scholz [Fri, 17 Oct 2003 00:43:51 +0000]
- added legacy support
- added support for suexec,restart,condrestart,exec,chkconfig,enter,running
  and status

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

21 years agoadded _CTX_KILL, _FILETIME and _VSERVER_LEGACY
Enrico Scholz [Fri, 17 Oct 2003 00:42:47 +0000]
added _CTX_KILL, _FILETIME and _VSERVER_LEGACY

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

21 years agoinitial checkin
Enrico Scholz [Fri, 17 Oct 2003 00:42:06 +0000]
initial checkin

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

21 years agoadded getinitpid
Enrico Scholz [Thu, 16 Oct 2003 15:10:32 +0000]
added getinitpid

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

21 years agoadded int2str.c
Enrico Scholz [Thu, 16 Oct 2003 15:09:15 +0000]
added int2str.c

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

21 years agoadded utilvserver_int2str()
Enrico Scholz [Thu, 16 Oct 2003 15:08:58 +0000]
added utilvserver_int2str()

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

21 years agoinitial checkin
Enrico Scholz [Thu, 16 Oct 2003 15:08:20 +0000]
initial checkin

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

21 years agoremoved all traces of <stdio.h>
Enrico Scholz [Thu, 16 Oct 2003 15:07:51 +0000]
removed all traces of <stdio.h>

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

21 years agogeneralized building with dietlibc
Enrico Scholz [Thu, 16 Oct 2003 15:07:10 +0000]
generalized building with dietlibc
added getinitpid

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

21 years agogeneralized building with dietlibc
Enrico Scholz [Thu, 16 Oct 2003 14:49:14 +0000]
generalized building with dietlibc

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

21 years agoadded getinitpid* files
Enrico Scholz [Thu, 16 Oct 2003 14:06:55 +0000]
added getinitpid* files
added getprocentry* files
added utils-legacy.h

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

21 years agoinitial checkin
Enrico Scholz [Thu, 16 Oct 2003 14:02:54 +0000]
initial checkin

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

21 years agos!vc_X_getcctx()!vc_X_getctx(0)!
Enrico Scholz [Thu, 16 Oct 2003 14:02:27 +0000]
s!vc_X_getcctx()!vc_X_getctx(0)!

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

21 years agoadded vc_X_getinitpid() pseudo-syscall
Enrico Scholz [Thu, 16 Oct 2003 14:01:44 +0000]
added vc_X_getinitpid() pseudo-syscall
removed vc_X_getcctx() since it is obsoleted by vc_X_getctx(0) now

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

21 years agoremoved all traces of <stdio.h> usage
Enrico Scholz [Thu, 16 Oct 2003 14:00:58 +0000]
removed all traces of <stdio.h> usage

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

21 years agocleanups
Enrico Scholz [Thu, 16 Oct 2003 13:59:56 +0000]
cleanups
recognize pid==0 as current pid

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

21 years agouse new utilvserver_getProcEntry() function
Enrico Scholz [Thu, 16 Oct 2003 13:59:28 +0000]
use new utilvserver_getProcEntry() function
recall vc_X_getctx_legacy() automatically when buffersize was too small

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

21 years agoadded substitution for UMOUNT
Enrico Scholz [Thu, 16 Oct 2003 02:45:42 +0000]
added substitution for UMOUNT

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

21 years agoupdated
Enrico Scholz [Thu, 16 Oct 2003 02:45:25 +0000]
updated

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

21 years agosmall signed/unsigned fixes for pedantic warning setups
Enrico Scholz [Thu, 16 Oct 2003 02:45:12 +0000]
small signed/unsigned fixes for pedantic warning setups
give '--help' message out on fd 1 instead of 2

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

21 years agosmall signed/unsigned fixes for pedantic warning setups
Enrico Scholz [Thu, 16 Oct 2003 02:44:33 +0000]
small signed/unsigned fixes for pedantic warning setups

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

21 years agouse "wrappers.h"
Enrico Scholz [Thu, 16 Oct 2003 02:44:08 +0000]
use "wrappers.h"
use STACK_START macro

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

21 years agosmall fixes for pedantic warning-setups
Enrico Scholz [Thu, 16 Oct 2003 02:43:29 +0000]
small fixes for pedantic warning-setups

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

21 years agoinitial checkin
Enrico Scholz [Thu, 16 Oct 2003 02:42:50 +0000]
initial checkin

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

21 years agoadded secure-umount + ctx-kill programs
Enrico Scholz [Thu, 16 Oct 2003 02:38:40 +0000]
added secure-umount + ctx-kill programs
added lots of headers
generalized dietlibc handling

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

21 years agobasic 'vserver ... start|stop' function should work now...
Enrico Scholz [Thu, 16 Oct 2003 02:36:22 +0000]
basic 'vserver ... start|stop' function should work now...

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

21 years agoadded _SECURE_UMOUNT and _UMOUNT
Enrico Scholz [Thu, 16 Oct 2003 02:34:31 +0000]
added _SECURE_UMOUNT and _UMOUNT

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

21 years agoadded vservers.{functions,stop}
Enrico Scholz [Thu, 16 Oct 2003 02:34:00 +0000]
added vservers.{functions,stop}

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

21 years agoadded lots of S_CTX_INFO_* macros
Enrico Scholz [Thu, 16 Oct 2003 02:33:37 +0000]
added lots of S_CTX_INFO_* macros

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

21 years agoadded missing 'lib/internal.h'
Enrico Scholz [Thu, 16 Oct 2003 02:32:45 +0000]
added missing 'lib/internal.h'

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

21 years agoadded UMOUNT_PROG macro
Enrico Scholz [Thu, 16 Oct 2003 02:31:26 +0000]
added UMOUNT_PROG macro

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

21 years agoadded check for UMOUNT
Enrico Scholz [Thu, 16 Oct 2003 02:31:08 +0000]
added check for UMOUNT
added pedantic warn-flags
added template for HAVE_GROWING_STACK check

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

21 years agodo '#undef inline' for '--std=c99' dietlibc compilations
Enrico Scholz [Thu, 16 Oct 2003 02:29:56 +0000]
do '#undef inline' for '--std=c99' dietlibc compilations

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

21 years agouse vc_init_internal_legacy() to initialize legacy-lib without parsing
Enrico Scholz [Tue, 14 Oct 2003 18:51:33 +0000]
use vc_init_internal_legacy() to initialize legacy-lib without parsing
/proc

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

21 years agoadded inofficial vc_init_internal_legacy() function
Enrico Scholz [Tue, 14 Oct 2003 18:48:52 +0000]
added inofficial vc_init_internal_legacy() function

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

21 years agoinclude "internal.h"
Enrico Scholz [Tue, 14 Oct 2003 18:47:28 +0000]
include "internal.h"

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

21 years agomoved declarations of general functions from vserver-internal.h into
Enrico Scholz [Tue, 14 Oct 2003 18:46:54 +0000]
moved declarations of general functions from vserver-internal.h into
internal.h

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

21 years agoMerged with SYSCALL_SWITCH branch (sswitch_merge tag)
Enrico Scholz [Tue, 14 Oct 2003 16:20:40 +0000]
Merged with SYSCALL_SWITCH branch (sswitch_merge tag)

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

21 years agofixed vc_X_getcctx()
Enrico Scholz [Tue, 14 Oct 2003 16:09:00 +0000]
fixed vc_X_getcctx()

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

21 years agoMerged with SYSCALL_SWITCH branch (sswitch_merge tag)
Enrico Scholz [Tue, 14 Oct 2003 15:59:02 +0000]
Merged with SYSCALL_SWITCH branch (sswitch_merge tag)

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

21 years agoMerged with SYSCALL_SWITCH branch (sswitch_merge tag)
Enrico Scholz [Tue, 14 Oct 2003 15:40:50 +0000]
Merged with SYSCALL_SWITCH branch (sswitch_merge tag)

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

21 years agoadded rcs2log support
Enrico Scholz [Mon, 13 Oct 2003 20:21:21 +0000]
added rcs2log support
added checks for MS_MOVE and ctx_t
define UTMP_GID as 22 for now

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

21 years agoadded $(lib_XHDRS) and compat.h
Enrico Scholz [Mon, 13 Oct 2003 20:04:31 +0000]
added $(lib_XHDRS) and compat.h
create /var/run/vservers on 'make install'
use m4/pkgconfig.am

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

21 years agomade it secure (go into chroot before accessing file)
Enrico Scholz [Mon, 13 Oct 2003 19:55:13 +0000]
made it secure (go into chroot before accessing file)
dietlibc'ized
other cleanups

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

21 years ago- added chroot-rm
Enrico Scholz [Mon, 13 Oct 2003 19:54:23 +0000]
- added chroot-rm
- compile fakerunlevel with dietlibc

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

21 years agomade it working...
Enrico Scholz [Mon, 13 Oct 2003 19:53:40 +0000]
made it working...

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

21 years ago- removed unused variables
Enrico Scholz [Mon, 13 Oct 2003 19:53:22 +0000]
- removed unused variables
- added lockfile-creation
- create symlink from /var/lib/rpm to $rpmdb_path (until all apt-versions
  are having the %_dbpath patch)

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

21 years agoadded variables for _CHROOT_RM and _FAKE_RUNLEVEL
Enrico Scholz [Mon, 13 Oct 2003 19:51:46 +0000]
added variables for _CHROOT_RM and _FAKE_RUNLEVEL

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

21 years agouse new secure-mount syntax
Enrico Scholz [Mon, 13 Oct 2003 19:51:18 +0000]
use new secure-mount syntax

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

21 years agoadded statements to install vserver.start
Enrico Scholz [Mon, 13 Oct 2003 19:50:58 +0000]
added statements to install vserver.start

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

21 years agoinitial checkin
Enrico Scholz [Mon, 13 Oct 2003 19:50:29 +0000]
initial checkin

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

21 years agoconditionalize RCS2LOG variant also
Enrico Scholz [Mon, 13 Oct 2003 19:50:09 +0000]
conditionalize RCS2LOG variant also

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

21 years agoremoved ctx_t typedef; this must be now done by each package
Enrico Scholz [Mon, 13 Oct 2003 19:46:55 +0000]
removed ctx_t typedef; this must be now done by each package
inidividually. For util-vserver, the declaration is in compat.h
and detection in configure.ac

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

21 years agoupdated
Enrico Scholz [Mon, 13 Oct 2003 19:45:43 +0000]
updated

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

21 years agoinitial checkin
Enrico Scholz [Mon, 13 Oct 2003 19:45:01 +0000]
initial checkin

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

21 years agomoved compat.h from src/ to toplevel-dir
Enrico Scholz [Mon, 13 Oct 2003 19:44:24 +0000]
moved compat.h from src/ to toplevel-dir

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

21 years agoinclude "compat.h"
Enrico Scholz [Mon, 13 Oct 2003 19:41:24 +0000]
include "compat.h"

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

21 years agoadded PGKCONFIG_FILES
Enrico Scholz [Mon, 13 Oct 2003 19:39:36 +0000]
added PGKCONFIG_FILES

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

21 years agoinitial checkin
Enrico Scholz [Thu, 9 Oct 2003 23:07:37 +0000]
initial checkin

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

21 years agouse absolute default-path for /bin/mount since it is required by
Enrico Scholz [Thu, 9 Oct 2003 23:07:19 +0000]
use absolute default-path for /bin/mount since it is required by
execv() in secure-mount

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

21 years agoadded MOUNT_PROG
Enrico Scholz [Thu, 9 Oct 2003 23:06:32 +0000]
added MOUNT_PROG

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

21 years agoadded '#include <stdlib.h>'
Enrico Scholz [Thu, 9 Oct 2003 23:06:15 +0000]
added '#include <stdlib.h>'

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

21 years ago- added *_cast macros
Enrico Scholz [Thu, 9 Oct 2003 23:05:42 +0000]
- added *_cast macros
- mark writeStr() as __attribute__((__unused__)) to prevent compiler
  warnings
- fixed off-by-one error in WRITE_MSG

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

21 years agorewrote it completely; it emulates now nearly the usual mount(8)
Enrico Scholz [Thu, 9 Oct 2003 23:04:13 +0000]
rewrote it completely; it emulates now nearly the usual mount(8)
functionality but provides the enhanced '--secure', '--chdir ...',
... options which are needed for vservers

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